projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4005996
)
export pid symbols needed for kvm_vcpu_on_spin
author
Rik van Riel
<
[email protected]
>
Tue, 1 Feb 2011 14:51:46 +0000
(09:51 -0500)
committer
Marcelo Tosatti
<
[email protected]
>
Thu, 17 Mar 2011 16:08:28 +0000
(13:08 -0300)
Export the symbols required for a race-free kvm_vcpu_on_spin.
Signed-off-by: Rik van Riel <
[email protected]
>
Signed-off-by: Avi Kivity <
[email protected]
>
kernel/fork.c
patch
|
blob
|
history
kernel/pid.c
patch
|
blob
|
history
diff --git
a/kernel/fork.c
b/kernel/fork.c
index 25e429152ddc8593d1cb32a62f8884740f69efb4..05b92c457010700a7578bb4fb418e612a8332fa3 100644
(file)
--- 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
diff --git
a/kernel/pid.c
b/kernel/pid.c
index 39b65b69584f5b0f373e360d6ecc3118751840a9..02f221274265ead8f24d98be78d669d5888e62fe 100644
(file)
--- a/
kernel/pid.c
+++ b/
kernel/pid.c
@@
-435,6
+435,7
@@
struct pid *get_task_pid(struct task_struct *task, enum pid_type type)
rcu_read_unlock();
return pid;
}
+EXPORT_SYMBOL_GPL(get_task_pid);
struct task_struct *get_pid_task(struct pid *pid, enum pid_type type)
{
@@
-446,6
+447,7
@@
struct task_struct *get_pid_task(struct pid *pid, enum pid_type type)
rcu_read_unlock();
return result;
}
+EXPORT_SYMBOL_GPL(get_pid_task);
struct pid *find_get_pid(pid_t nr)
{