summaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2011-02-01 09:51:46 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2011-03-17 13:08:28 -0300
commit77c100c83e84316ced2507c5799f79c2c80bc6b9 (patch)
tree93bbf41cc6a1a5f38730f241e104816a488a4715 /kernel/fork.c
parent4005996e428b0d3df10cd0eba389a14b9f5403e4 (diff)
downloadlinux-77c100c83e84316ced2507c5799f79c2c80bc6b9.tar.gz
linux-77c100c83e84316ced2507c5799f79c2c80bc6b9.tar.bz2
linux-77c100c83e84316ced2507c5799f79c2c80bc6b9.zip
export pid symbols needed for kvm_vcpu_on_spin
Export the symbols required for a race-free kvm_vcpu_on_spin. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 25e429152ddc..05b92c457010 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -193,6 +193,7 @@ void __put_task_struct(struct task_struct *tsk)
if (!profile_handoff_task(tsk))
free_task(tsk);
}
+EXPORT_SYMBOL_GPL(__put_task_struct);
/*
* macro override instead of weak attribute alias, to workaround