aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
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 /kernel
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 'kernel')
-rw-r--r--kernel/sched.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 7090982350d3..ac4d26241d1e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5018,6 +5018,11 @@ void show_state_filter(unsigned long state_filter)
5018 debug_show_all_locks(); 5018 debug_show_all_locks();
5019} 5019}
5020 5020
5021void __cpuinit init_idle_bootup_task(struct task_struct *idle)
5022{
5023 /* nothing yet */
5024}
5025
5021/** 5026/**
5022 * init_idle - set up an idle thread for a given CPU 5027 * init_idle - set up an idle thread for a given CPU
5023 * @idle: task in question 5028 * @idle: task in question