]> git.hungrycats.org Git - linux/commitdiff
[PATCH] sparc32: sparc32 init_idle()
authorWilliam Lee Irwin III <wli@holomorphy.com>
Sat, 7 Aug 2004 07:53:10 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 7 Aug 2004 07:53:10 +0000 (00:53 -0700)
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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc/kernel/sun4d_smp.c
arch/sparc/kernel/sun4m_smp.c
arch/sparc/kernel/trampoline.S

index e5e1349035707706cfb99db48a9888fb42f0976b..791f2c4dc78de79c94b717f4f539ff0ca10241c3 100644 (file)
@@ -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();
 
index 01587b1608195b0eeb537a2edd1d1ff5353b7507..4e686af0778ae9e1ce0b39761b8bbdf9c3bfd464 100644 (file)
@@ -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);
 
index 1db353f4668ef6ee70185f68a69f8e8ead4d1017..2dcdaa1fd8cd9e5225708d2d5db99aa2a39123b7 100644 (file)
@@ -88,8 +88,6 @@ cpu3_startup:
        .align  4
 
 smp_do_cpu_idle:
-       call    init_idle
-        nop
        call    cpu_idle
         mov    0, %o0