projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82a8508
)
powerpc: Remove altivec fix for gcc versions before 4.0
author
Anton Blanchard
<anton@samba.org>
Tue, 17 Apr 2012 18:44:17 +0000
(18:44 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Mon, 30 Apr 2012 05:37:26 +0000
(15:37 +1000)
Now we require gcc 4.0 on 64-bit we can remove the pre gcc 4.0
-maltivec workaround.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/Makefile
b/arch/powerpc/Makefile
index 68455ddb63b7e01e9b72bab08906882650df933f..6ee3beb4d2646b0407c61168c624b4cdd127247a 100644
(file)
--- a/
arch/powerpc/Makefile
+++ b/
arch/powerpc/Makefile
@@
-77,18
+77,8
@@
CPP = $(CC) -E $(KBUILD_CFLAGS)
CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__
ifeq ($(CONFIG_PPC64),y)
-GCC_BROKEN_VEC := $(call cc-ifversion, -lt, 0400, y)
-
ifeq ($(CONFIG_POWER4_ONLY),y)
-ifeq ($(CONFIG_ALTIVEC),y)
-ifeq ($(GCC_BROKEN_VEC),y)
- KBUILD_CFLAGS += $(call cc-option,-mcpu=970)
-else
- KBUILD_CFLAGS += $(call cc-option,-mcpu=power4)
-endif
-else
KBUILD_CFLAGS += $(call cc-option,-mcpu=power4)
-endif
else
KBUILD_CFLAGS += $(call cc-option,-mtune=power4)
endif