]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/85xx: Remove -Wa,-me500
authorScott Wood <scottwood@freescale.com>
Wed, 21 Aug 2013 00:53:10 +0000 (19:53 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 21 Aug 2013 00:53:10 +0000 (19:53 -0500)
This caused lwsync to be converted to sync on 64-bit (on 32-bit lwsync
is generated at runtime, and so wasn't affected).  Not using lwsync
caused a significant slowdown on certain workloads.

Setting this flag for any e500-enabled build is also not friendly to
multiplatform kernels.

Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/Makefile

index 967fd23ace78bd5886e7a8c8b417afa58915b433..6930c935d292173a29a7ca51280d6a30786df6aa 100644 (file)
@@ -139,7 +139,6 @@ endif
 
 cpu-as-$(CONFIG_4xx)           += -Wa,-m405
 cpu-as-$(CONFIG_ALTIVEC)       += -Wa,-maltivec
-cpu-as-$(CONFIG_E500)          += -Wa,-me500
 cpu-as-$(CONFIG_E200)          += -Wa,-me200
 
 KBUILD_AFLAGS += $(cpu-as-y)