commit | 3309e9cc4481856c8de65b43ad80943d55f00bf6 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paul.mckenney@linaro.org> | Wed Jun 06 07:12:43 2012 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Jun 06 20:49:04 2012 -0700 |
tree | 7cab92a420d91b3eb12a2e9f693143a22de79c4a | |
parent | ca790ec97f55a48685cd52673377f977221bf218 [diff] |
rcu: Fix rcu_is_cpu_idle() #ifdef in TINY_RCU The rcu_is_cpu_idle() function is used if CONFIG_DEBUG_LOCK_ALLOC, but TINY_RCU defines it only when CONFIG_PROVE_RCU. This causes build failures when CONFIG_DEBUG_LOCK_ALLOC=y but CONFIG_PROVE_RCU=n. This commit therefore adjusts the #ifdefs for rcu_is_cpu_idle() so that it is defined when CONFIG_DEBUG_LOCK_ALLOC=y. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>