commit | 289828e62de0334a0d01c0f65df91cd47d3a9e05 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sat Aug 31 19:23:29 2013 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Sep 23 09:15:27 2013 -0700 |
tree | 8bda5b11aa9e8bfcd2e176b7e12b365bfa7b79fe | |
parent | c9d4b0af9e0609cc525c55de18229fde7c926d61 [diff] |
rcu: Silence unused-variable warnings The "idle" variable in both rcu_eqs_enter_common() and rcu_eqs_exit_common() is only used in a WARN_ON_ONCE(). If the kernel is built disabling WARN_ON_ONCE(), the compiler will complain (rightly) that "idle" is unused. This commit therefore adds a __maybe_unused to the declaration of both variables. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>