diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-16 16:48:14 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-21 18:36:50 +0300 |
commit | ec80eb467171b511635b9e3086fec357f79afe3b (patch) | |
tree | 65650e59f38f45a9534f7062c6bd6d7bc3ff18b4 /arch/arm/include/asm | |
parent | a21b4c10c7bf5b58112afa20d6fa829e8d74e3e6 (diff) | |
download | linux-ec80eb467171b511635b9e3086fec357f79afe3b.tar.xz |
ARM: 8744/1: don't discard memblock for kexec
Discarding the memblock arrays usually works, but causes problems
with kexec, as pointed out by this kbuild warning:
WARNING: vmlinux.o(.text+0x7c60): Section mismatch in reference from the function machine_kexec_prepare() to the function .meminit.text:memblock_is_region_memory()
This lets us keep the memblock structures around whenever kexec
is enabled, but otherwise still drops them.
Fixes: cf1b09908a23 ("ARM: 8693/1: discard memblock arrays when possible")
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
0 files changed, 0 insertions, 0 deletions