summaryrefslogtreecommitdiff
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-09 18:51:58 +0200
committerIngo Molnar <mingo@elte.hu>2007-07-09 18:51:58 +0200
commit1df21055e34b6a68d62cf0c524b9e52deebd7ead (patch)
treeb3611a364b289340d6b5016eba9f53a37b6b1de2 /kernel/sched.c
parent4da1ce6d9c7e2a6d9236bf4dcfd33cf506082794 (diff)
downloadlwn-1df21055e34b6a68d62cf0c524b9e52deebd7ead.tar.gz
lwn-1df21055e34b6a68d62cf0c524b9e52deebd7ead.zip
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/sched.c')
-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)
debug_show_all_locks();
}
+void __cpuinit init_idle_bootup_task(struct task_struct *idle)
+{
+ /* nothing yet */
+}
+
/**
* init_idle - set up an idle thread for a given CPU
* @idle: task in question