[POWERPC] Remove some redundant isync instructions
authorMOKUNO Masakazu <mokuno@sm.sony.co.jp>
Mon, 26 Feb 2007 08:21:05 +0000 (17:21 +0900)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Mar 2007 04:03:24 +0000 (15:03 +1100)
Remove some redundant isync instructions.

enable_64b_mode() already does an isync, so there is no need to do it again.

Signed-off-by: MOKUNO, Masakazu <mokuno@sm.sony.co.jp>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_64.S

index 97cedcd6c9b46e338bb28849b54fe72d03ff166f..5a53cebd17e609a1bbe7a0903f0548aa94f359c6 100644 (file)
@@ -1555,7 +1555,6 @@ _GLOBAL(generic_secondary_smp_init)
        
        /* turn on 64-bit mode */
        bl      .enable_64b_mode
-       isync
 
        /* Set up a paca value for this processor. Since we have the
         * physical cpu id in r24, we need to search the pacas to find
@@ -1851,7 +1850,6 @@ __secondary_start_pmac_0:
 _GLOBAL(pmac_secondary_start)
        /* turn on 64-bit mode */
        bl      .enable_64b_mode
-       isync
 
        /* Copy some CPU settings from CPU 0 */
        bl      .__restore_cpu_ppc970