diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-03-22 02:23:44 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-27 07:13:35 -0400 |
commit | 57647a4dada06bb4d4056e57b4dcb79c4c8bb191 (patch) | |
tree | 2f041889a8ccb95f5785968815b89f2cb5bbca96 /arch | |
parent | f13659e0b3907548402ce1f47bf866544b804260 (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/Makefile | 6 |
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. |
103 | CFLAGS += $(call cc-option,-funit-at-a-time) | 103 | CFLAGS += $(call cc-option,-funit-at-a-time) |
104 | 104 | ||
105 | ifndef CONFIG_FSL_BOOKE | 105 | # Never use string load/store instructions as they are |
106 | CFLAGS += -mstring | 106 | # often slow when they are implemented at all |
107 | endif | 107 | CFLAGS += -mno-string |
108 | 108 | ||
109 | ifeq ($(CONFIG_6xx),y) | 109 | ifeq ($(CONFIG_6xx),y) |
110 | CFLAGS += -mcpu=powerpc | 110 | CFLAGS += -mcpu=powerpc |