diff options
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | kexec/kexec-syscall.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7c72845..017d06c 100644 --- a/configure.ac +++ b/configure.ac @@ -31,12 +31,15 @@ case $host_cpu in s390x ) host_cpu="s390" ;; + sh4|sh3 ) + host_cpu="sh" + ;; * ) host_cpu="$host_cpu" ;; esac case $host_cpu in - i386|ppc|x86_64|alpha|ppc64|ia64|s390) + i386|ppc|x86_64|alpha|ppc64|ia64|s390|sh) ;; * ) AC_MSG_ERROR([ unsupported architecture $host_cpu]) diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h index 37e2bb1..0ca3984 100644 --- a/kexec/kexec-syscall.h +++ b/kexec/kexec-syscall.h @@ -25,6 +25,9 @@ #ifdef __i386__ #define __NR_kexec_load 283 #endif +#ifdef __sh__ +#define __NR_kexec_load 283 +#endif #ifdef __ia64__ #define __NR_kexec_load 1268 #endif |