diff options
Diffstat (limited to 'kernel/rcu/tree.c')
| -rw-r--r-- | kernel/rcu/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 1af5e2cdcbeb..b591f1459240 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
| @@ -286,11 +286,11 @@ static void rcu_momentary_dyntick_idle(void) | |||
| 286 | * and requires special handling for preemptible RCU. | 286 | * and requires special handling for preemptible RCU. |
| 287 | * The caller must have disabled preemption. | 287 | * The caller must have disabled preemption. |
| 288 | */ | 288 | */ |
| 289 | void rcu_note_context_switch(int cpu) | 289 | void rcu_note_context_switch(void) |
| 290 | { | 290 | { |
| 291 | trace_rcu_utilization(TPS("Start context switch")); | 291 | trace_rcu_utilization(TPS("Start context switch")); |
| 292 | rcu_sched_qs(); | 292 | rcu_sched_qs(); |
| 293 | rcu_preempt_note_context_switch(cpu); | 293 | rcu_preempt_note_context_switch(); |
| 294 | if (unlikely(raw_cpu_read(rcu_sched_qs_mask))) | 294 | if (unlikely(raw_cpu_read(rcu_sched_qs_mask))) |
| 295 | rcu_momentary_dyntick_idle(); | 295 | rcu_momentary_dyntick_idle(); |
| 296 | trace_rcu_utilization(TPS("End context switch")); | 296 | trace_rcu_utilization(TPS("End context switch")); |
