[PATCH] Update KEXEC_ARCH_* constants from Linux kernel headers.

Jamey Sharp jamey at thetovacompany.com
Fri May 16 01:34:23 EDT 2008


Signed-off-by: Jamey Sharp <jamey at thetovacompany.com>
---
I thought I'd need this, but it turned out not to matter. I'm submitting
it anyway because keeping kexec-tools in sync with the kernel kexec
headers seems like a good idea.

 kexec/kexec-syscall.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
index d12a11c..2b9345f 100644
--- a/kexec/kexec-syscall.h
+++ b/kexec/kexec-syscall.h
@@ -82,8 +82,11 @@ static inline long kexec_reboot(void)
 #define KEXEC_ARCH_PPC     (20 << 16)
 #define KEXEC_ARCH_PPC64   (21 << 16)
 #define KEXEC_ARCH_IA_64   (50 << 16)
-#define KEXEC_ARCH_S390    (22 << 16)
 #define KEXEC_ARCH_ARM     (40 << 16)
+#define KEXEC_ARCH_S390    (22 << 16)
+#define KEXEC_ARCH_SH      (42 << 16)
+#define KEXEC_ARCH_MIPS_LE (10 << 16)
+#define KEXEC_ARCH_MIPS    ( 8 << 16)
 
 #define KEXEC_MAX_SEGMENTS 16
 
-- 
1.5.4.1




More information about the kexec mailing list