summaryrefslogtreecommitdiff
path: root/kexec/kexec-syscall.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@axis.com>2008-09-05 11:25:58 +0200
committerSimon Horman <horms@verge.net.au>2008-10-08 17:09:14 +1100
commit800fe37b7931cb11c47c88bf1fd69aa096d3cebe (patch)
tree5e3766eca2e82eca364bfc7f8a448f22ad2ec0fb /kexec/kexec-syscall.h
parentedd13ae1c4965b6f1e8a8e07d8e01d31fef37d55 (diff)
cris: add kexc_load syscall
The released toolchain had an old list of syscalls (kexec_load was missing) so I had to add a fallback definition: Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-syscall.h')
-rw-r--r--kexec/kexec-syscall.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
index 2b9345f..4535716 100644
--- a/kexec/kexec-syscall.h
+++ b/kexec/kexec-syscall.h
@@ -28,6 +28,11 @@
#ifdef __sh__
#define __NR_kexec_load 283
#endif
+#ifdef __cris__
+#ifndef __NR_kexec_load
+#define __NR_kexec_load 283
+#endif
+#endif
#ifdef __ia64__
#define __NR_kexec_load 1268
#endif