From patchwork Wed Aug 21 02:12:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/4] powerpc/85xx: Remove -Wa,-me500 X-Patchwork-Submitter: Scott Wood X-Patchwork-Id: 268670 X-Patchwork-Delegate: scottwood@freescale.com Message-Id: <1377051162-2588-3-git-send-email-scottwood@freescale.com> To: Cc: Scott Wood , Catalin Udma Date: Tue, 20 Aug 2013 21:12:40 -0500 From: Scott Wood List-Id: Linux on PowerPC Developers Mail List 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 --- arch/powerpc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 967fd23..6930c93 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)