Эх сурвалжийг харах

[POWERPC] Remove some redundant isync instructions

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>
MOKUNO Masakazu 18 жил өмнө
parent
commit
fdc0a9be3a

+ 0 - 2
arch/powerpc/kernel/head_64.S

@@ -1555,7 +1555,6 @@ _GLOBAL(generic_secondary_smp_init)
 	
 	
 	/* turn on 64-bit mode */
 	/* turn on 64-bit mode */
 	bl	.enable_64b_mode
 	bl	.enable_64b_mode
-	isync
 
 
 	/* Set up a paca value for this processor. Since we have the
 	/* 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
 	 * 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)
 _GLOBAL(pmac_secondary_start)
 	/* turn on 64-bit mode */
 	/* turn on 64-bit mode */
 	bl	.enable_64b_mode
 	bl	.enable_64b_mode
-	isync
 
 
 	/* Copy some CPU settings from CPU 0 */
 	/* Copy some CPU settings from CPU 0 */
 	bl	.__restore_cpu_ppc970
 	bl	.__restore_cpu_ppc970