[PATCH] powerpc: Remove some redunant isync instructions

MOKUNO Masakazu mokuno at sm.sony.co.jp
Mon Feb 26 19:21:05 EST 2007


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 at sm.sony.co.jp>

---
 arch/powerpc/kernel/head_64.S |    2 --
 1 files changed, 2 deletions(-)

--- ps3-linux-dev.orig/arch/powerpc/kernel/head_64.S
+++ ps3-linux-dev/arch/powerpc/kernel/head_64.S
@@ -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

--
Masakazu MOKUNO




More information about the Linuxppc-dev mailing list