| Submitter | Paul E. McKenney |
|---|---|
| Subject | [tip/core/rcu,14/17] rcu: Fix rcu_is_cpu_idle() #ifdef in TINY_RCU |
| Date | June 22, 2012, 3:35 p.m. |
| List thread | <1340379312-6684-14-git-send-email-paulmck@linux.vnet.ibm.com> |
| Project | linux-kernel |
| State | Accepted |
| Last updated | July 2, 2012, 7:34 p.m. |
| Commit | d7118175cce7e76b3292b60832813ef1f28b6523 |
| Headers | show |
Comments
Patch
diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c index 37a5444..547b1fe 100644 --- a/kernel/rcutiny.c +++ b/kernel/rcutiny.c @@ -172,7 +172,7 @@ void rcu_irq_enter(void) local_irq_restore(flags); } -#ifdef CONFIG_PROVE_RCU +#ifdef CONFIG_DEBUG_LOCK_ALLOC /* * Test whether RCU thinks that the current CPU is idle. @@ -183,7 +183,7 @@ int rcu_is_cpu_idle(void) } EXPORT_SYMBOL(rcu_is_cpu_idle); -#endif /* #ifdef CONFIG_PROVE_RCU */ +#endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ /* * Test whether the current CPU was interrupted from idle. Nested
