projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05e4140
)
MIPS: Use -mno-check-zero-division
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 28 Apr 2009 17:28:33 +0000
(19:28 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 14 May 2009 12:50:28 +0000
(13:50 +0100)
I don't think that in 15 years of Linux/MIPS the zero division checking
code generated by gcc by default has ever caught anything.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/Makefile
b/arch/mips/Makefile
index 3d5626ee0a5c91d0adb3a2d2b0ef22c6ee3c2b6f..26947ab852609857e14f55e93103ec1d5811f62e 100644
(file)
--- a/
arch/mips/Makefile
+++ b/
arch/mips/Makefile
@@
-49,6
+49,7
@@
ifneq ($(SUBARCH),$(ARCH))
endif
cflags-y := -ffunction-sections
+cflags-y += $(call cc-option, -mno-check-zero-division)
ifdef CONFIG_32BIT
ld-emul = $(32bit-emul)