rcu: Enable DEBUG_OBJECTS_RCU_HEAD from !PREEMPT
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 23 Feb 2011 17:42:14 +0000 (09:42 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 May 2011 06:16:57 +0000 (23:16 -0700)
commitfc2ecf7ec76c5ee150b83dcefc863fa03fd365fb
tree2fcdfaf97cf5b9d7a1cfce9e2c8c041c38ea7dfe
parent5ece5bab3ed8594ce2c85c6c6e6b82109db36ca7
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>
kernel/rcupdate.c
lib/Kconfig.debug