[PATCH] powerpc/ppc: Drop use of SYNC macro in head_fsl_booke.S

Becky Bruce bgill at freescale.com
Wed Feb 14 07:16:08 EST 2007


Eliminate needless invocation of the SYNC macro (which always evaluates to
nothing on BookE) from head_fsl_booke.S

Signed-off-by: Becky Bruce <becky.bruce at freescale.com>

---
commit 6007a6b0235e2060556c8136f1fa2ddfea2228d3
tree d6b96565246807ae10f9fa64e24280eb2664e8ec
parent 2a5f6e78c834e1824a9d6ef3d561920cbda61a5e
author Becky Bruce <becky.bruce at freescale.com> Mon, 12 Feb 2007 17:55:50 -0600
committer Becky Bruce <becky.bruce at freescale.com> Mon, 12 Feb 2007 17:55:50 -0600

 arch/powerpc/kernel/head_fsl_booke.S |    2 --
 arch/ppc/kernel/head_fsl_booke.S     |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
index 54f40d9..1f155d3 100644
--- a/arch/powerpc/kernel/head_fsl_booke.S
+++ b/arch/powerpc/kernel/head_fsl_booke.S
@@ -892,7 +892,6 @@ load_up_spe:
 	REST_GPR(9, r11)
 	REST_GPR(12, r11)
 	lwz	r11,GPR11(r11)
-	SYNC
 	rfi
 
 /*
@@ -956,7 +955,6 @@ _GLOBAL(giveup_altivec)
 _GLOBAL(giveup_spe)
 	mfmsr	r5
 	oris	r5,r5,MSR_SPE at h
-	SYNC
 	mtmsr	r5			/* enable use of SPE now */
 	isync
 	cmpi	0,r3,0
diff --git a/arch/ppc/kernel/head_fsl_booke.S b/arch/ppc/kernel/head_fsl_booke.S
index 54f40d9..1f155d3 100644
--- a/arch/ppc/kernel/head_fsl_booke.S
+++ b/arch/ppc/kernel/head_fsl_booke.S
@@ -892,7 +892,6 @@ load_up_spe:
 	REST_GPR(9, r11)
 	REST_GPR(12, r11)
 	lwz	r11,GPR11(r11)
-	SYNC
 	rfi
 
 /*
@@ -956,7 +955,6 @@ _GLOBAL(giveup_altivec)
 _GLOBAL(giveup_spe)
 	mfmsr	r5
 	oris	r5,r5,MSR_SPE at h
-	SYNC
 	mtmsr	r5			/* enable use of SPE now */
 	isync
 	cmpi	0,r3,0



More information about the Linuxppc-dev mailing list