Skip to content

Commit

Permalink
sched: export kick_process
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell committed Jun 12, 2009
1 parent f7027c6 commit b43e352
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b43e352

Please sign in to comment.