diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-13 00:27:00 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 08:57:01 -0400 |
commit | b43e352139f51216a8c56b0bd5fc3d4e05c65619 (patch) | |
tree | f7766a7d5dc21e424bc914c99e03a4816a35d78a /kernel/sched.c | |
parent | f7027c6387d0c3acf569845165ec7947e2083c82 (diff) |
sched: export kick_process
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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index f04aa9664504..8ec9d13140be 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2192,6 +2192,7 @@ void kick_process(struct task_struct *p) | |||
2192 | smp_send_reschedule(cpu); | 2192 | smp_send_reschedule(cpu); |
2193 | preempt_enable(); | 2193 | preempt_enable(); |
2194 | } | 2194 | } |
2195 | EXPORT_SYMBOL_GPL(kick_process); | ||
2195 | 2196 | ||
2196 | /* | 2197 | /* |
2197 | * Return a low guess at the load of a migration-source cpu weighted | 2198 | * Return a low guess at the load of a migration-source cpu weighted |