summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kexec/kexec-syscall.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
index dac1c1f7..92d51d35 100644
--- a/kexec/kexec-syscall.h
+++ b/kexec/kexec-syscall.h
@@ -56,6 +56,10 @@
#endif
#endif /*ifndef __NR_kexec_load*/
+#ifdef __arm__
+#undef __NR_kexec_file_load
+#endif
+
#ifndef __NR_kexec_file_load
#ifdef __x86_64__