rcutorture: Abstract torture-test cleanup
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 30 Jan 2014 22:21:11 +0000 (14:21 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:01:08 +0000 (09:01 -0800)
commitcc47ae0830264f07442070b36fe0d0a4d4e3c313
tree6fb3b6b73a8f47085475d57a966940728a869895
parentb5daa8f3b3b2b0133ad40e13d4f722070119ce36
rcutorture: Abstract torture-test cleanup

This commit creates a torture_cleanup() that handles the generic
cleanup actions local to kernel/torture.c.

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