]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 23 Oct 2012 21:50:31 +0000 (14:50 -0700)
commita278741bed5009023656d275b24b12fdb8158e24
tree45e581a729cd25bc6b29307cca06cfdc333838ba
parent51588c3f40fd8a5929eeaf5a72dffc1fb1deff26
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