Commit a87d3761 authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Linus Torvalds

[PATCH] sparc32: sparc32 init_idle()

An analysis of the code determined that AP initialization called init_idle()
no less than three times, 2 out of the three with incorrect numbers of
arguments.  This patch removes the superfluous calls.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 10534d17
......@@ -100,8 +100,6 @@ void __init smp4d_callin(void)
* the SMP initialization the master will be just allowed
* to call the scheduler code.
*/
init_idle();
/* Get our local ticker going. */
smp_setup_percpu_timer();
......
......@@ -95,8 +95,6 @@ void __init smp4m_callin(void)
* the SMP initialization the master will be just allowed
* to call the scheduler code.
*/
init_idle();
/* Allow master to continue. */
swap((unsigned long *)&cpu_callin_map[cpuid], 1);
......
......@@ -88,8 +88,6 @@ cpu3_startup:
.align 4
smp_do_cpu_idle:
call init_idle
nop
call cpu_idle
mov 0, %o0
......
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