rcu: Move synchronize_sched_expedited() state to rcu_state
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 11 Oct 2012 22:24:03 +0000 (15:24 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Nov 2012 19:50:12 +0000 (11:50 -0800)
commit40694d6644d5cca28531707559466122eb212d8b
tree4585fe95e0fa05c3273343971d46ea4403af294f
parent1924bcb0259711eea98491a7942d1ffbf677e114
rcu: Move synchronize_sched_expedited() state to rcu_state

Tracing (debugfs) of expedited RCU primitives is required, which in turn
requires that the relevant data be located where the tracing code can find
it, not in its current static global variables in kernel/rcutree.c.
This commit therefore moves sync_sched_expedited_started and
sync_sched_expedited_done to the rcu_state structure, as fields
->expedited_start and ->expedited_done, respectively.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c
kernel/rcutree.h