diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-18 18:30:29 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-18 18:30:29 -0800 |
| commit | 2df40901f668a2943de6c93b4f3221a4599c7597 (patch) | |
| tree | 0c8fbb1305907678e951c515eecb209c7a83fe14 /include/linux | |
| parent | ea9c300dbdc3bb6417969ac6e65459567cfda8ce (diff) | |
[PATCH] CPU scheduler cleanup
From: Ingo Molnar <mingo@elte.hu>
- move scheduling-state initializtion from copy_process() to
sched_fork() (Nick Piggin)
Diffstat (limited to 'include/linux')
| -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 8bea1256eb08..dba09fa98441 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -579,6 +579,7 @@ extern int FASTCALL(wake_up_process(struct task_struct * tsk)); static inline void kick_process(struct task_struct *tsk) { } #endif extern void FASTCALL(wake_up_forked_process(struct task_struct * tsk)); +extern void FASTCALL(sched_fork(task_t * p)); extern void FASTCALL(sched_exit(task_t * p)); asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru); |
