Commit b43e3521 authored by Rusty Russell's avatar Rusty Russell

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: default avatarRusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
parent f7027c63
...@@ -2192,6 +2192,7 @@ void kick_process(struct task_struct *p) ...@@ -2192,6 +2192,7 @@ void kick_process(struct task_struct *p)
smp_send_reschedule(cpu); smp_send_reschedule(cpu);
preempt_enable(); preempt_enable();
} }
EXPORT_SYMBOL_GPL(kick_process);
/* /*
* Return a low guess at the load of a migration-source cpu weighted * Return a low guess at the load of a migration-source cpu weighted
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment