提交 02ed82cc 编写于 作者: B Becky Bruce 提交者: Kumar Gala

[POWERPC] 85xx: Drop use of SYNC macro in head_fsl_booke.S

Eliminate needless invocation of the SYNC macro (which always evaluates to
nothing on BookE) from head_fsl_booke.S (for both arch/ppc & arch/powerpc).
Signed-off-by: NBecky Bruce <becky.bruce@freescale.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 eb11a720
...@@ -892,7 +892,6 @@ load_up_spe: ...@@ -892,7 +892,6 @@ load_up_spe:
REST_GPR(9, r11) REST_GPR(9, r11)
REST_GPR(12, r11) REST_GPR(12, r11)
lwz r11,GPR11(r11) lwz r11,GPR11(r11)
SYNC
rfi rfi
/* /*
...@@ -956,7 +955,6 @@ _GLOBAL(giveup_altivec) ...@@ -956,7 +955,6 @@ _GLOBAL(giveup_altivec)
_GLOBAL(giveup_spe) _GLOBAL(giveup_spe)
mfmsr r5 mfmsr r5
oris r5,r5,MSR_SPE@h oris r5,r5,MSR_SPE@h
SYNC
mtmsr r5 /* enable use of SPE now */ mtmsr r5 /* enable use of SPE now */
isync isync
cmpi 0,r3,0 cmpi 0,r3,0
......
...@@ -892,7 +892,6 @@ load_up_spe: ...@@ -892,7 +892,6 @@ load_up_spe:
REST_GPR(9, r11) REST_GPR(9, r11)
REST_GPR(12, r11) REST_GPR(12, r11)
lwz r11,GPR11(r11) lwz r11,GPR11(r11)
SYNC
rfi rfi
/* /*
...@@ -956,7 +955,6 @@ _GLOBAL(giveup_altivec) ...@@ -956,7 +955,6 @@ _GLOBAL(giveup_altivec)
_GLOBAL(giveup_spe) _GLOBAL(giveup_spe)
mfmsr r5 mfmsr r5
oris r5,r5,MSR_SPE@h oris r5,r5,MSR_SPE@h
SYNC
mtmsr r5 /* enable use of SPE now */ mtmsr r5 /* enable use of SPE now */
isync isync
cmpi 0,r3,0 cmpi 0,r3,0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册