Thread (1 message) 1 message, 1 author, 2016-06-05
STALE3707d

[PATCH 4.5 011/128] MIPS: Loongson-3: Fix build error after ld-version.sh modification

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2016-06-05 22:24:54
Also in: lkml, stable

4.5-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Huacai Chen <redacted>

commit 820880cdba0137baff6cc0e828c3c418c363ae44 upstream.

Commit d5ece1cb074b2c ("Fix ld-version.sh to handle large 3rd version
part") modifies the ld version description. This causes a build error
on Loongson-3, so fix it.

Signed-off-by: Huacai Chen <redacted>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Steven J . Hill <redacted>
Cc: Fuxin Zhang <redacted>
Cc: Zhangjin Wu <redacted>
Cc: Huacai Chen <redacted>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12890/
Signed-off-by: Ralf Baechle <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/mips/loongson64/Platform |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/mips/loongson64/Platform
+++ b/arch/mips/loongson64/Platform
@@ -31,7 +31,7 @@ cflags-$(CONFIG_CPU_LOONGSON3)	+= -Wa,--
 # can't easily be used safely within the kbuild framework.
 #
 ifeq ($(call cc-ifversion, -ge, 0409, y), y)
-  ifeq ($(call ld-ifversion, -ge, 22500000, y), y)
+  ifeq ($(call ld-ifversion, -ge, 225000000, y), y)
     cflags-$(CONFIG_CPU_LOONGSON3)  += \
       $(call cc-option,-march=loongson3a -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS64)
   else
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help