aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-09 12:51:58 -0400
committerIngo Molnar <mingo@elte.hu>2007-07-09 12:51:58 -0400
commit1df21055e34b6a68d62cf0c524b9e52deebd7ead (patch)
treeb3611a364b289340d6b5016eba9f53a37b6b1de2 /include
parent4da1ce6d9c7e2a6d9236bf4dcfd33cf506082794 (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.h1
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;
195extern void sched_init(void); 195extern void sched_init(void);
196extern void sched_init_smp(void); 196extern void sched_init_smp(void);
197extern void init_idle(struct task_struct *idle, int cpu); 197extern void init_idle(struct task_struct *idle, int cpu);
198extern void init_idle_bootup_task(struct task_struct *idle);
198 199
199extern cpumask_t nohz_cpu_mask; 200extern cpumask_t nohz_cpu_mask;
200#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ) 201#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ)