diff options
author | Andrew Morton <akpm@osdl.org> | 2004-05-14 05:43:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 05:43:50 -0700 |
commit | 8fe084449efe98c1f36cd308fb9b5be5dff8c7a5 (patch) | |
tree | 927fddaa7089aeba72aa3e23d2effd5098eac556 /kernel | |
parent | 2e27bd98812fd2f07999574564bd8ce7ddfb4b9e (diff) | |
download | history-8fe084449efe98c1f36cd308fb9b5be5dff8c7a5.tar.gz |
[PATCH] ia64 cpu hotplug: core kernel initialisation
From: Ashok Raj <ashok.raj@intel.com>
This patch changes __init to __devinit to init_idle so that when a new cpu
arrives, it can call these functions at a later time.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index e146ee030888a3..af614e52e1b936 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -3204,7 +3204,7 @@ void show_state(void) read_unlock(&tasklist_lock); } -void __init init_idle(task_t *idle, int cpu) +void __devinit init_idle(task_t *idle, int cpu) { runqueue_t *idle_rq = cpu_rq(cpu), *rq = cpu_rq(task_cpu(idle)); unsigned long flags; |