Skip to contentSkip to conversation

Patch "MIPS: Loongson-3: Fix build error after ld-version.sh modification" has been added to the 4.6-stable tree

PATCH [email protected] 1 participant 1 message Jun 4, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

MIPS: Loongson-3: Fix build error after ld-version.sh modification

to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mips-loongson-3-fix-build-error-after-ld-version.sh-modification.patch
and it can be found in the queue-4.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 820880cdba0137baff6cc0e828c3c418c363ae44 Mon Sep 17 00:00:00 2001

From: Huacai Chen <[email protected]>
Date: Thu, 17 Mar 2016 20:41:06 +0800
Subject: MIPS: Loongson-3: Fix build error after ld-version.sh modification

From: Huacai Chen <[email protected]>

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.

Cc Aurelien Jarno <[email protected]>
Cc Steven J . Hill <[email protected]>
Cc Fuxin Zhang <[email protected]>
Cc Zhangjin Wu <[email protected]>
Cc Huacai Chen <[email protected]>

Patchwork: https://patchwork.linux-mips.org/patch/12890/

---
 arch/mips/loongson64/Platform |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/loongson64/Platform +1 -1
@@ -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

Patches currently in stable-queue which might be from [email protected] are

queue-4.6/mips-reserve-nosave-data-for-hibernation.patch queue-4.6/mips-loongson-3-reserve-32mb-for-rs780e-integrated-gpu.patch queue-4.6/mips-loongson-3-fix-build-error-after-ld-version.sh-modification.patch queue-4.6/mips-sync-icache-dcache-in-set_pte_at.patch