[PATCH v2 4/7] x86: kexec_file: remove X86_64 dependency from prepare_elf64_headers()

2018-03-06 Thread AKASHI Takahiro
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. Signed-off-by: AKASHI

[PATCH v2 4/7] x86: kexec_file: remove X86_64 dependency from prepare_elf64_headers()

2018-03-06 Thread AKASHI Takahiro
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. Signed-off-by: AKASHI