浏览代码

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 <scottwood@freescale.com>
Scott Wood 11 年之前
父节点
当前提交
f49596a4cf
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/powerpc/Makefile

+ 0 - 1
arch/powerpc/Makefile

@@ -139,7 +139,6 @@ endif
 
 
 cpu-as-$(CONFIG_4xx)		+= -Wa,-m405
 cpu-as-$(CONFIG_4xx)		+= -Wa,-m405
 cpu-as-$(CONFIG_ALTIVEC)	+= -Wa,-maltivec
 cpu-as-$(CONFIG_ALTIVEC)	+= -Wa,-maltivec
-cpu-as-$(CONFIG_E500)		+= -Wa,-me500
 cpu-as-$(CONFIG_E200)		+= -Wa,-me200
 cpu-as-$(CONFIG_E200)		+= -Wa,-me200
 
 
 KBUILD_AFLAGS += $(cpu-as-y)
 KBUILD_AFLAGS += $(cpu-as-y)