Commit 8fe08444 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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.
parent 2e27bd98
......@@ -178,7 +178,7 @@ EXPORT_SYMBOL(loops_per_jiffy);
better than 1% */
#define LPS_PREC 8
void __init calibrate_delay(void)
void __devinit calibrate_delay(void)
{
unsigned long ticks, loopbit;
int lps_precision = LPS_PREC;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment