summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kexec/kexec-syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
index be6ccd55..1e2d12f8 100644
--- a/kexec/kexec-syscall.h
+++ b/kexec/kexec-syscall.h
@@ -59,7 +59,7 @@
#endif
#endif /*ifndef __NR_kexec_load*/
-#ifdef __arm__
+#if defined(__arm__) || defined(__loongarch__)
#undef __NR_kexec_file_load
#endif