Patch "arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419" has been added to the 4.1-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419
to the 4.1-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:
arm64-errata-use-kbuild_cflags_module-for-erratum-843419.patch
and it can be found in the queue-4.1 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
b6dd8e0719c0d2d01429639a11b7bc2677de240cMon Sep 17 00:00:00 2001
From: Will Deacon <[email protected]>
Date: Thu, 8 Oct 2015 11:11:17 +0100
Subject: arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419
From: Will Deacon <[email protected]>
commit b6dd8e0719c0d2d01429639a11b7bc2677de240c upstream.
Commit df057cc7b4fa ("arm64: errata: add module build workaround for erratum #843419") sets CFLAGS_MODULE to ensure that the large memory model is used by the compiler when building kernel modules.
However, CFLAGS_MODULE is an environment variable and intended to be overridden on the command line, which appears to be the case with the Ubuntu kernel packaging system, so use KBUILD_CFLAGS_MODULE instead.
--- arch/arm64/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/Makefile +1 -1
@@ -31,7 +31,7 @@ endif CHECKFLAGS += -D__aarch64__ ifeq ($(CONFIG_ARM64_ERRATUM_843419), y) -CFLAGS_MODULE += -mcmodel=large +KBUILD_CFLAGS_MODULE += -mcmodel=large endif # Default value
Patches currently in stable-queue which might be from [email protected] are
queue-4.1/arm64-errata-use-kbuild_cflags_module-for-erratum-843419.patch