diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-03-22 07:23:44 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-27 13:13:35 +0200 |
commit | 57647a4dada06bb4d4056e57b4dcb79c4c8bb191 (patch) | |
tree | 2f041889a8ccb95f5785968815b89f2cb5bbca96 /arch | |
parent | [POWERPC] Fix WARN_ON when entering xmon (diff) | |
download | linux-57647a4dada06bb4d4056e57b4dcb79c4c8bb191.tar.xz 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')
-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 |