rcu: Use WARN_ON_ONCE for DEBUG_OBJECTS_RCU_HEAD warnings
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 23 Feb 2011 17:56:00 +0000 (09:56 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 May 2011 06:16:57 +0000 (23:16 -0700)
commit108aae22339f445c134aeb48eca25df1014ab08d
tree34a5ecb48e93726932004d36edcd60275cd47ce6
parent561190e3b3db372403fb6a327b0121b4cae1b87e
rcu: Use WARN_ON_ONCE for DEBUG_OBJECTS_RCU_HEAD warnings

Avoid additional multiple-warning confusion in memory-corruption scenarios.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcupdate.c