diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:51:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:51:58 -0400 |
commit | 1df21055e34b6a68d62cf0c524b9e52deebd7ead (patch) | |
tree | b3611a364b289340d6b5016eba9f53a37b6b1de2 /include | |
parent | 4da1ce6d9c7e2a6d9236bf4dcfd33cf506082794 (diff) |
sched: add init_idle_bootup_task()
add the init_idle_bootup_task() callback to the bootup thread,
unused at the moment. (CFS will use it to switch the scheduling
class of the boot thread to the idle class)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-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 4b912e753ca0..61a111fe2b7a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -195,6 +195,7 @@ struct task_struct; | |||
195 | extern void sched_init(void); | 195 | extern void sched_init(void); |
196 | extern void sched_init_smp(void); | 196 | extern void sched_init_smp(void); |
197 | extern void init_idle(struct task_struct *idle, int cpu); | 197 | extern void init_idle(struct task_struct *idle, int cpu); |
198 | extern void init_idle_bootup_task(struct task_struct *idle); | ||
198 | 199 | ||
199 | extern cpumask_t nohz_cpu_mask; | 200 | extern cpumask_t nohz_cpu_mask; |
200 | #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ) | 201 | #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ) |