summaryrefslogtreecommitdiff
path: root/arch/loongarch/kernel/machine_kexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/kernel/machine_kexec.c')
-rw-r--r--arch/loongarch/kernel/machine_kexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/loongarch/kernel/machine_kexec.c b/arch/loongarch/kernel/machine_kexec.c
index 8ae641dc53bb..f9381800e291 100644
--- a/arch/loongarch/kernel/machine_kexec.c
+++ b/arch/loongarch/kernel/machine_kexec.c
@@ -126,14 +126,14 @@ void kexec_reboot(void)
/* All secondary cpus go to kexec_smp_wait */
if (smp_processor_id() > 0) {
relocated_kexec_smp_wait(NULL);
- unreachable();
+ BUG();
}
#endif
do_kexec = (void *)reboot_code_buffer;
do_kexec(efi_boot, cmdline_ptr, systable_ptr, start_addr, first_ind_entry);
- unreachable();
+ BUG();
}