[PATCH] cris: add kexc_load syscall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Edgar E. Iglesias <edgar.iglesias@xxxxxxxx>

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



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux