diff options
| author | Dean Nelson <dcn@sgi.com> | 2005-01-07 21:47:53 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-07 21:47:53 -0800 |
| commit | 0cc0f9fcae0fc4deda39d8a47cd24962d1d64a08 (patch) | |
| tree | b890034a4d3594b7d7e1048c6bf526fc45c5fe1e /include/linux/sched.h | |
| parent | 38ff2da8b3b71f5bf6d7adf5281ce8e1df2dc0e9 (diff) | |
[PATCH] export sched_setscheduler() for kernel module use
This patch exports sched_setscheduler() so that it can be used by a kernel
module to set a kthread's scheduling policy and associated parameters.
Signed-off-by: Dean Nelson <dcn@sgi.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index adcfd6e16f94..30648d7668ed 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -761,6 +761,7 @@ extern int task_prio(const task_t *p); extern int task_nice(const task_t *p); extern int task_curr(const task_t *p); extern int idle_cpu(int cpu); +extern int sched_setscheduler(struct task_struct *, int, struct sched_param *); void yield(void); |
