From: MOKUNO Masakazu Date: Mon, 26 Feb 2007 08:21:05 +0000 (+0900) Subject: [POWERPC] Remove some redundant isync instructions X-Git-Tag: v2.6.22-rc1~1109^2~202 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;ds=sidebyside;h=fdc0a9be3a63a71c12de86cc97d4cd8cf46239c0;p=safe%2Fjmp%2Flinux-2.6 [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 Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index 97cedcd6..5a53ceb 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/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