rcutorture: Abstract torture_onoff()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 28 Jan 2014 23:58:22 +0000 (15:58 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:01:06 +0000 (09:01 -0800)
commit2e9e8081d2e7a4efb582a240aa7fee991bbbabb0
tree21b3850bb6568d7bc61b432305c20b2423de24d7
parent3808dc9fab05913060626d7f0edd0f195cb9dcab
rcutorture: Abstract torture_onoff()

Because online/offline torturing is not specific to RCU, this commit
abstracts it into the kernel/torture.c module to allow other torture
tests to use it.

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