sched: export kick_process
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:27:00 +0000 (22:27 -0600)
committerRusty 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

index f04aa9664504025ad16e01f1c2c8c8da6a787545..8ec9d13140be832cd88d349248c1cd155fd8da61 100644 (file)
@@ -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