rcutorture: Abstract torture_stop_kthread()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Feb 2014 19:47:08 +0000 (11:47 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:04:25 +0000 (09:04 -0800)
commit9c029b86098decd4660eec511b8d2d42da3e7dd9
treea108dd697afee54ef25db8303aaa71c7b28e37aa
parent47cf29b9e721967aac95ebda9e50408219755852
rcutorture: Abstract torture_stop_kthread()

Stopping of kthreads is not RCU-specific, so this commit abstracts
out torture_stop_kthread(), saving a few lines of code in the process.

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