[PATCH] cris: add kexc_load syscall
Simon Horman
horms at verge.net.au
Wed Oct 8 02:18:27 EDT 2008
From: Edgar E. Iglesias <edgar.iglesias at axis.com>
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 at verge.net.au>
---
kexec/kexec-syscall.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
I have applied this patch to the kexec-tools git tree.
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
More information about the kexec
mailing list