diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-06-06 07:12:43 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-07-02 12:34:25 -0700 |
commit | d7118175cce7e76b3292b60832813ef1f28b6523 (patch) | |
tree | 3fb9f6b0e4ce52ea187113e87389b909837fdbeb /lib/find_last_bit.c | |
parent | 29154c57e35a191c83b19c61b1935c9f21957662 (diff) | |
download | op-kernel-dev-d7118175cce7e76b3292b60832813ef1f28b6523.zip op-kernel-dev-d7118175cce7e76b3292b60832813ef1f28b6523.tar.gz |
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>
Diffstat (limited to 'lib/find_last_bit.c')
0 files changed, 0 insertions, 0 deletions