From: Paul E. McKenney Date: Wed, 6 Jun 2012 14:12:43 +0000 (-0700) Subject: rcu: Fix rcu_is_cpu_idle() #ifdef in TINY_RCU X-Git-Tag: v3.6-rc1~168^2^2~2^3~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7118175cce7e76b3292b60832813ef1f28b6523;p=pandora-kernel.git 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 Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed