rcutorture: Abstract TOROUT_STRING() and friends
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 29 Jan 2014 15:30:50 +0000 (07:30 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:01:02 +0000 (09:01 -0800)
commitc2884de38e01134ae040d55aa5644049d1bb850f
treec30e47a8bd1e2fc647bf19965102dac421a959e1
parent5ccf60f23d33afd53568cff4f3f421f2ca624401
rcutorture: Abstract TOROUT_STRING() and friends

These diagnostic macros are not confined to torturing RCU, so this commit
makes them available to other torture tests.  Also removed the do-while
from TOROUT_STRING() in response to checkpatch complaints.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/torture.h
kernel/rcu/rcutorture.c