Subject: powerpc: delete -mstring option From: Akinobu Mita There is no reason to force -mstring option. This patch removes -mstring option, and adds -mno-string option for FLS_BOOKE (Because GCC is now putting string instructions even if you don't specify -mstring). Signed-off-by: Akinobu Mita Signed-off-by: Arnd Bergmann --- arch/powerpc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6/arch/powerpc/Makefile =================================================================== --- linux-2.6.orig/arch/powerpc/Makefile +++ linux-2.6/arch/powerpc/Makefile @@ -102,8 +102,8 @@ CFLAGS += $(call cc-option,-mno-altivec) # kernel considerably. CFLAGS += $(call cc-option,-funit-at-a-time) -ifndef CONFIG_FSL_BOOKE -CFLAGS += -mstring +ifeq ($(CONFIG_FSL_BOOKE),y) +CFLAGS += -mno-string endif ifeq ($(CONFIG_6xx),y)