projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7027c6
)
sched: export kick_process
author
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:27:00 +0000
(22:27 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:57:01 +0000
(22:27 +0930)
lguest needs kick_process: wake_up_process() does nothing if a process
is running, which isn't sufficient (we need it in the kernel).
And lguest support is usually modular.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index f04aa9664504025ad16e01f1c2c8c8da6a787545..8ec9d13140be832cd88d349248c1cd155fd8da61 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-2192,6
+2192,7
@@
void kick_process(struct task_struct *p)
smp_send_reschedule(cpu);
preempt_enable();
}
+EXPORT_SYMBOL_GPL(kick_process);
/*
* Return a low guess at the load of a migration-source cpu weighted