summaryrefslogtreecommitdiff
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2011-05-04 17:31:03 +0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-05-06 10:16:59 +0400
commit29ce831000081dd757d3116bf774aafffc4b6b20 (patch)
tree0b992d993b02d3479a150e9fc508d110dc45631d /kernel/rcutree.c
parentbad6e1393cb505fe17747344a23666464daa3fa7 (diff)
downloadlinux-29ce831000081dd757d3116bf774aafffc4b6b20.tar.xz
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/rcutree.c')
-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)
rcu_sched_qs(cpu);
rcu_preempt_note_context_switch(cpu);
}
+EXPORT_SYMBOL_GPL(rcu_note_context_switch);
#ifdef CONFIG_NO_HZ
DEFINE_PER_CPU(struct rcu_dynticks, rcu_dynticks) = {