diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-16 14:48:14 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-21 16:36:50 +0100 |
commit | ec80eb467171b511635b9e3086fec357f79afe3b (patch) | |
tree | 65650e59f38f45a9534f7062c6bd6d7bc3ff18b4 /drivers/dma | |
parent | ARM: 8743/1: bL_switcher: add MODULE_LICENSE tag (diff) | |
download | linux-ec80eb467171b511635b9e3086fec357f79afe3b.tar.xz linux-ec80eb467171b511635b9e3086fec357f79afe3b.zip |
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 'drivers/dma')
0 files changed, 0 insertions, 0 deletions