summaryrefslogtreecommitdiff
path: root/kexec/kexec-syscall.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2007-02-01 17:09:16 +0900
committerSimon Horman <horms@verge.net.au>2007-02-01 17:16:53 +0900
commit35917b5e76e8aef49920cc9693c94863f4ae507b (patch)
tree79aac9b8ea813e3809e44b940d10b4f4d6ef257b /kexec/kexec-syscall.h
parent17aef86b03edc9867f990434bc30be0ac498376d (diff)
downloadkexec-tools-35917b5e76e8aef49920cc9693c94863f4ae507b.tar.gz
kexec-tools: Add sh support
Patch found on http://eggplant.ddo.jp/www/download/debian26/source/kexec-tools/kexec-tools_1.101-2sh.diff.gz According to Paul Mundt <lethal@linux-sh.org> it was originally by kogiidena <kogiidena@eggplant.ddo.jp> Signed-off-by: Simon Horman <horms@verge.net.au> Acked-by: Magnus Damm <magnus.damm@gmail.com>
Diffstat (limited to 'kexec/kexec-syscall.h')
-rw-r--r--kexec/kexec-syscall.h3
1 files changed, 3 insertions, 0 deletions
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