aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-03-22 02:23:44 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-27 07:13:35 -0400
commit57647a4dada06bb4d4056e57b4dcb79c4c8bb191 (patch)
tree2f041889a8ccb95f5785968815b89f2cb5bbca96 /arch
parentf13659e0b3907548402ce1f47bf866544b804260 (diff)
[POWERPC] Always use -mno-string
The string load/store instructions are unimplemented on some processors and slow (microcoded) on some others. It's simplest to just not use them at all. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index e6c3addef398..26788de1cc59 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -102,9 +102,9 @@ CFLAGS += $(call cc-option,-mno-altivec)
102# kernel considerably. 102# kernel considerably.
103CFLAGS += $(call cc-option,-funit-at-a-time) 103CFLAGS += $(call cc-option,-funit-at-a-time)
104 104
105ifndef CONFIG_FSL_BOOKE 105# Never use string load/store instructions as they are
106CFLAGS += -mstring 106# often slow when they are implemented at all
107endif 107CFLAGS += -mno-string
108 108
109ifeq ($(CONFIG_6xx),y) 109ifeq ($(CONFIG_6xx),y)
110CFLAGS += -mcpu=powerpc 110CFLAGS += -mcpu=powerpc