rcu: Move torture-related definitions from rcupdate.h to rcu.h
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 3 May 2017 17:22:57 +0000 (10:22 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Jun 2017 01:52:28 +0000 (18:52 -0700)
commitcad7b3897279c869de61dc88133037b941f84233
treebd63f01597e28efa7cdbcc6910848fc6fe5eefa6
parent25c36329a30c8cac090effe1fbae9bb916fa95fe
rcu: Move torture-related definitions from rcupdate.h to rcu.h

The include/linux/rcupdate.h file contains a number of definitions that
are used only to communicate between rcutorture, rcuperf, and the RCU code
itself.  There is no point in having these definitions exposed globally
throughout the kernel, so this commit moves them to kernel/rcu/rcu.h.
This change has the added benefit of shrinking rcupdate.h.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h
include/linux/rcutiny.h
include/linux/rcutree.h
include/linux/srcuclassic.h
include/linux/srcutiny.h
include/linux/srcutree.h
kernel/rcu/rcu.h