[PATCH] arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419

Catalin Marinas catalin.marinas at arm.com
Thu Oct 8 10:47:50 PDT 2015


On Thu, Oct 08, 2015 at 06:32:35PM +0100, Will Deacon wrote:
> 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.
> 
> Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Reported-by: Dann Frazier <dann.frazier at canonical.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>

Just you case you forgot, I think you also need:

Fixes: df057cc7b4fa ("arm64: errata: add module build workaround for erratum #843419")
Cc: <stable at vger.kernel.org>

-- 
Catalin



More information about the linux-arm-kernel mailing list