summaryrefslogtreecommitdiff
path: root/kexec/arch/loongarch/crashdump-loongarch.c
diff options
context:
space:
mode:
authorYouling Tang <tangyouling@loongson.cn>2023-03-04 11:09:10 +0800
committerSimon Horman <horms@kernel.org>2023-03-08 11:49:12 +0100
commit4203eaccfa925dd11019163560297a5353b01638 (patch)
tree03ad423dc5d076491bf773a7ff4fa38253aa14ff /kexec/arch/loongarch/crashdump-loongarch.c
parent63e9a012112e418876413bf45440118d69d85189 (diff)
downloadkexec-tools-4203eaccfa925dd11019163560297a5353b01638.tar.gz
kexec: __NR_kexec_file_load is set to undefined on LoongArch
The initial reason is that after the merger of 29fe5067ed07 ("kexec: make -a the default"), kexec cannot be used on LoongArch architectures. We need to add "-c" for normal use. The current kexec_file_load system call is not implemented in architectures such as LoongArch, so it needs to pass kexec_load. So we need to set __NR_kexec_file_load to undefined in unsupported architectures. This will return EFALLBACK via is_kexec_file_load_implemented, and then via kexec_load. Signed-off-by: Youling Tang <tangyouling@loongson.cn> Signed-off-by: Simon Horman <horms@kernel.org>
Diffstat (limited to 'kexec/arch/loongarch/crashdump-loongarch.c')
0 files changed, 0 insertions, 0 deletions