diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-02-10 17:32:54 -0500 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-18 14:38:18 -0400 |
| commit | 900b1028ec388e50c98200641ae4274794c807cf (patch) | |
| tree | 189ccd5b77678b8e34046d5287a1d9deac9a62c9 /kernel/rcu/tree.c | |
| parent | 15fecf89e46a962ccda583d919e25d9da7bf0723 (diff) | |
srcu: Allow SRCU to access rcu_scheduler_active
This is primarily a code-movement commit in preparation for allowing
SRCU to handle early-boot SRCU grace periods.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
| -rw-r--r-- | kernel/rcu/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 8cc9d40b41ea..2380d1e3dfb8 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
| @@ -3974,7 +3974,7 @@ early_initcall(rcu_spawn_gp_kthread); | |||
| 3974 | * task is booting the system, and such primitives are no-ops). After this | 3974 | * task is booting the system, and such primitives are no-ops). After this |
| 3975 | * function is called, any synchronous grace-period primitives are run as | 3975 | * function is called, any synchronous grace-period primitives are run as |
| 3976 | * expedited, with the requesting task driving the grace period forward. | 3976 | * expedited, with the requesting task driving the grace period forward. |
| 3977 | * A later core_initcall() rcu_exp_runtime_mode() will switch to full | 3977 | * A later core_initcall() rcu_set_runtime_mode() will switch to full |
| 3978 | * runtime RCU functionality. | 3978 | * runtime RCU functionality. |
| 3979 | */ | 3979 | */ |
| 3980 | void rcu_scheduler_starting(void) | 3980 | void rcu_scheduler_starting(void) |
