diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2011-02-23 12:42:14 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-05-06 02:16:57 -0400 |
commit | fc2ecf7ec76c5ee150b83dcefc863fa03fd365fb (patch) | |
tree | 2fcdfaf97cf5b9d7a1cfce9e2c8c041c38ea7dfe /lib | |
parent | 5ece5bab3ed8594ce2c85c6c6e6b82109db36ca7 (diff) |
rcu: Enable DEBUG_OBJECTS_RCU_HEAD from !PREEMPT
The prohibition of DEBUG_OBJECTS_RCU_HEAD from !PREEMPT was due to the
fixup actions. So just produce a warning from !PREEMPT.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 93ce6de3300d..3aa278046d78 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -337,7 +337,7 @@ config DEBUG_OBJECTS_WORK | |||
337 | 337 | ||
338 | config DEBUG_OBJECTS_RCU_HEAD | 338 | config DEBUG_OBJECTS_RCU_HEAD |
339 | bool "Debug RCU callbacks objects" | 339 | bool "Debug RCU callbacks objects" |
340 | depends on DEBUG_OBJECTS && PREEMPT | 340 | depends on DEBUG_OBJECTS |
341 | help | 341 | help |
342 | Enable this to turn on debugging of RCU list heads (call_rcu() usage). | 342 | Enable this to turn on debugging of RCU list heads (call_rcu() usage). |
343 | 343 | ||