aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 6f2922168216..ccc061acf887 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -457,7 +457,7 @@ void rcu_note_context_switch(bool preempt)
457 rcu_momentary_dyntick_idle(); 457 rcu_momentary_dyntick_idle();
458 this_cpu_inc(rcu_dynticks.rcu_qs_ctr); 458 this_cpu_inc(rcu_dynticks.rcu_qs_ctr);
459 if (!preempt) 459 if (!preempt)
460 rcu_note_voluntary_context_switch_lite(current); 460 rcu_tasks_qs(current);
461out: 461out:
462 trace_rcu_utilization(TPS("End context switch")); 462 trace_rcu_utilization(TPS("End context switch"));
463 barrier(); /* Avoid RCU read-side critical sections leaking up. */ 463 barrier(); /* Avoid RCU read-side critical sections leaking up. */