From: David S. Miller <davem@davemloft.net>
Date: Tue, 15 May 2012 17:48:54 +0000 (-0700)
Subject: sparc32: Build kernel with -mcpu=v8
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2119ff6d2bc0dd6a97de1632e50cd7936049738c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

sparc32: Build kernel with -mcpu=v8

With Cypress gone we can generate real hardware integer multiply
and divide instructions at will.

Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
index 7e8040b4504c..23f17d1c8cb4 100644
--- a/arch/sparc/Makefile
+++ b/arch/sparc/Makefile
@@ -30,7 +30,7 @@ export BITS    := 32
 UTS_MACHINE    := sparc
 
 #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7
-KBUILD_CFLAGS += -m32 -mcpu=v7 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
+KBUILD_CFLAGS += -m32 -mcpu=v8 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
 KBUILD_AFLAGS += -m32 -Wa,-Av8
 
 else