diff options
author | Gleb Natapov <gleb@redhat.com> | 2011-05-04 09:31:03 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-05-06 02:16:59 -0400 |
commit | 29ce831000081dd757d3116bf774aafffc4b6b20 (patch) | |
tree | 0b992d993b02d3479a150e9fc508d110dc45631d /kernel | |
parent | bad6e1393cb505fe17747344a23666464daa3fa7 (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.c | 1 |
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 | } |
160 | EXPORT_SYMBOL_GPL(rcu_note_context_switch); | ||
160 | 161 | ||
161 | #ifdef CONFIG_NO_HZ | 162 | #ifdef CONFIG_NO_HZ |
162 | DEFINE_PER_CPU(struct rcu_dynticks, rcu_dynticks) = { | 163 | DEFINE_PER_CPU(struct rcu_dynticks, rcu_dynticks) = { |