diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2018-04-14 00:35:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-14 02:10:27 +0200 |
commit | c72c7e670963b26134e78a06b91632b41a0e3615 (patch) | |
tree | 18e0e2007c485ce090e9bcf482a752025b077583 /mm/interval_tree.c | |
parent | x86: kexec_file: purge system-ram walking from prepare_elf64_headers() (diff) | |
download | linux-c72c7e670963b26134e78a06b91632b41a0e3615.tar.xz linux-c72c7e670963b26134e78a06b91632b41a0e3615.zip |
x86: kexec_file: remove X86_64 dependency from prepare_elf64_headers()
The code guarded by CONFIG_X86_64 is necessary on some architectures
which have a dedicated kernel mapping outside of linear memory mapping.
(arm64 is among those.)
In this patch, an additional argument, kernel_map, is added to enable/
disable the code removing #ifdef.
Link: http://lkml.kernel.org/r/20180306102303.9063-5-takahiro.akashi@linaro.org
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Acked-by: Dave Young <dyoung@redhat.com>
Tested-by: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/interval_tree.c')
0 files changed, 0 insertions, 0 deletions