summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-06-12 22:27:00 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-06-12 22:27:01 +0930
commitb43e352139f51216a8c56b0bd5fc3d4e05c65619 (patch)
treef7766a7d5dc21e424bc914c99e03a4816a35d78a /kernel/sched.c
parentf7027c6387d0c3acf569845165ec7947e2083c82 (diff)
downloadblackbird-op-linux-b43e352139f51216a8c56b0bd5fc3d4e05c65619.tar.gz
blackbird-op-linux-b43e352139f51216a8c56b0bd5fc3d4e05c65619.zip
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.c1
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)
smp_send_reschedule(cpu);
preempt_enable();
}
+EXPORT_SYMBOL_GPL(kick_process);
/*
* Return a low guess at the load of a migration-source cpu weighted
OpenPOWER on IntegriCloud