diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-03-22 17:23:44 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-27 21:13:35 +1000 |
commit | 57647a4dada06bb4d4056e57b4dcb79c4c8bb191 (patch) | |
tree | 2f041889a8ccb95f5785968815b89f2cb5bbca96 /arch/powerpc/Makefile | |
parent | f13659e0b3907548402ce1f47bf866544b804260 (diff) | |
download | linux-57647a4dada06bb4d4056e57b4dcb79c4c8bb191.tar.gz linux-57647a4dada06bb4d4056e57b4dcb79c4c8bb191.tar.bz2 linux-57647a4dada06bb4d4056e57b4dcb79c4c8bb191.zip |
[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/powerpc/Makefile')
-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) # kernel considerably. CFLAGS += $(call cc-option,-funit-at-a-time) -ifndef CONFIG_FSL_BOOKE -CFLAGS += -mstring -endif +# Never use string load/store instructions as they are +# often slow when they are implemented at all +CFLAGS += -mno-string ifeq ($(CONFIG_6xx),y) CFLAGS += -mcpu=powerpc |