[RFC] arch/powerpc: Remove duplicate/redundant Altivec entries

Matthew McClintock msm at freescale.com
Wed Sep 8 04:56:55 EST 2010


In lieu of having multiple similiar lines, we can just have one
generic cpu-as line for CONFIG_ALTIVEC

---
Was hoping to get comments about this change and if anyone sees any potential
problems?

 arch/powerpc/Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index e07d499..4e88b42 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -131,8 +131,7 @@ KBUILD_CFLAGS		+= -mno-sched-epilog
 endif
 
 cpu-as-$(CONFIG_4xx)		+= -Wa,-m405
-cpu-as-$(CONFIG_6xx)		+= -Wa,-maltivec
-cpu-as-$(CONFIG_POWER4)		+= -Wa,-maltivec
+cpu-as-$(CONFIG_ALTIVEC)	+= -Wa,-maltivec
 cpu-as-$(CONFIG_E500)		+= -Wa,-me500
 cpu-as-$(CONFIG_E200)		+= -Wa,-me200
 
-- 
1.6.6.1




More information about the Linuxppc-dev mailing list