From: Scott Wood Date: Wed, 21 Aug 2013 00:53:10 +0000 (-0500) Subject: powerpc/85xx: Remove -Wa,-me500 X-Git-Tag: v3.12-rc1~123^2~28^2~8 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f49596a4cf4753d13951608f24f939a59fdcc653;p=linux.git powerpc/85xx: Remove -Wa,-me500 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 --- diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 967fd23ace78..6930c935d292 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -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)