summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2007-02-01 18:17:31 +0900
committerSimon Horman <horms@verge.net.au>2007-02-01 18:17:31 +0900
commit5299e8183dd984d485c5037cc717a0c0b04cd5be (patch)
treebc79a40af937ea72e2e1c4471c62c8227cfe1b2e
parent8323ed7b3119077cd6fef6ca3615ba1b5b24d2cd (diff)
Remove 9bc3f8f7df46d8253bccaede1ea5ad3f21678f80, which is bogus
Signed-off-by: Horms <horms@verge.net.au>
-rw-r--r--configure.ac5
-rw-r--r--kexec/kexec-syscall.h3
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