aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorKeith Owens <kaos@sgi.com>2005-09-11 03:19:06 -0400
committerTony Luck <tony.luck@intel.com>2005-09-11 17:01:30 -0400
commita2a979821b6ab75a4f143cfaa1c4672cc259ec10 (patch)
tree4e327a4a8c14829d4addf8a09e13355e0cf565a4 /include/linux/sched.h
parent9fe66dfd8846706ff11ed7990d06c92644973bd8 (diff)
[PATCH] MCA/INIT: scheduler hooks
Scheduler hooks to see/change which process is deemed to be on a cpu. Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4b83cb230006..ed3bb19d1337 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -904,6 +904,8 @@ extern int task_curr(const task_t *p);
904extern int idle_cpu(int cpu); 904extern int idle_cpu(int cpu);
905extern int sched_setscheduler(struct task_struct *, int, struct sched_param *); 905extern int sched_setscheduler(struct task_struct *, int, struct sched_param *);
906extern task_t *idle_task(int cpu); 906extern task_t *idle_task(int cpu);
907extern task_t *curr_task(int cpu);
908extern void set_curr_task(int cpu, task_t *p);
907 909
908void yield(void); 910void yield(void);
909 911