aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2011-05-04 09:31:03 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-05-06 02:16:59 -0400
commit29ce831000081dd757d3116bf774aafffc4b6b20 (patch)
tree0b992d993b02d3479a150e9fc508d110dc45631d /kernel
parentbad6e1393cb505fe17747344a23666464daa3fa7 (diff)
rcu: provide rcu_virt_note_context_switch() function.
Provide rcu_virt_note_context_switch() for vitalization use to note quiescent state during guest entry. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcutree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index b2fe2a273df2..54ff7eb92819 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -157,6 +157,7 @@ void rcu_note_context_switch(int cpu)
157 rcu_sched_qs(cpu); 157 rcu_sched_qs(cpu);
158 rcu_preempt_note_context_switch(cpu); 158 rcu_preempt_note_context_switch(cpu);
159} 159}
160EXPORT_SYMBOL_GPL(rcu_note_context_switch);
160 161
161#ifdef CONFIG_NO_HZ 162#ifdef CONFIG_NO_HZ
162DEFINE_PER_CPU(struct rcu_dynticks, rcu_dynticks) = { 163DEFINE_PER_CPU(struct rcu_dynticks, rcu_dynticks) = {