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>
This commit is contained in:
Rusty Russell 2009-06-12 22:27:00 -06:00
parent f7027c6387
commit b43e352139

View File

@ -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