diff options
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r-- | kernel/rcutree_plugin.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index ea2e2fb79e81..38d09c5f2b41 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h | |||
@@ -602,6 +602,11 @@ static void rcu_preempt_process_callbacks(void) | |||
602 | &__get_cpu_var(rcu_preempt_data)); | 602 | &__get_cpu_var(rcu_preempt_data)); |
603 | } | 603 | } |
604 | 604 | ||
605 | static void rcu_preempt_do_callbacks(void) | ||
606 | { | ||
607 | rcu_do_batch(&rcu_preempt_state, &__get_cpu_var(rcu_preempt_data)); | ||
608 | } | ||
609 | |||
605 | /* | 610 | /* |
606 | * Queue a preemptible-RCU callback for invocation after a grace period. | 611 | * Queue a preemptible-RCU callback for invocation after a grace period. |
607 | */ | 612 | */ |
@@ -997,6 +1002,10 @@ static void rcu_preempt_process_callbacks(void) | |||
997 | { | 1002 | { |
998 | } | 1003 | } |
999 | 1004 | ||
1005 | static void rcu_preempt_do_callbacks(void) | ||
1006 | { | ||
1007 | } | ||
1008 | |||
1000 | /* | 1009 | /* |
1001 | * Wait for an rcu-preempt grace period, but make it happen quickly. | 1010 | * Wait for an rcu-preempt grace period, but make it happen quickly. |
1002 | * But because preemptible RCU does not exist, map to rcu-sched. | 1011 | * But because preemptible RCU does not exist, map to rcu-sched. |