rcu: Avoid sparse warnings in rcu_nocb_wake trace event
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 18 Aug 2013 18:59:25 +0000 (11:59 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Sep 2013 16:18:17 +0000 (09:18 -0700)
commit15f5191b6acbbb38029b06284e8fd20275e7cfe8
treecadd66927a556a5584be2fc453440d88130560a0
parent69a79bb12a81024d718e73c52e886907a3777b34
rcu: Avoid sparse warnings in rcu_nocb_wake trace event

The event-tracing macros do not like bool tracing arguments, so this
commit makes them be of type char.  This change has the knock-on effect
of making it illegal to pass a pointer into one of these arguments, so
also change rcutiny's first call to trace_rcu_batch_end() to convert
from pointer to boolean, prefixing with "!!".

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/trace/events/rcu.h
kernel/rcutiny.c