]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419
authorWill Deacon <will.deacon@arm.com>
Thu, 8 Oct 2015 10:11:17 +0000 (11:11 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 12 Oct 2015 16:40:12 +0000 (17:40 +0100)
commit2edbded66596527e15d8df527a92c52abd73983e
treeb3075dce1127da62e18acbf2bf6261eda967a500
parent186f6599ed5cde61c9827a5391f6e95cc77b81bf
arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419

Commit 2ebe73fe8ec4 ("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.

Cc: <stable@vger.kernel.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Fixes: 2ebe73fe8ec4 ("arm64: errata: add module build workaround for erratum #843419")
Reported-by: Dann Frazier <dann.frazier@canonical.com>
Tested-by: Dann Frazier <dann.frazier@canonical.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Makefile