forked from pool/kexec-tools
28 lines
770 B
Diff
28 lines
770 B
Diff
|
From 4eaa36cd01a972a602065ebade5ac46d1c81fba9 Mon Sep 17 00:00:00 2001
|
||
|
From: Simon Horman <horms@verge.net.au>
|
||
|
Date: Tue, 20 Dec 2016 09:29:18 +0100
|
||
|
Subject: [PATCH 04/45] alpha: add missing __NR_kexec_load definition
|
||
|
|
||
|
Signed-off-by: Simon Horman <horms@verge.net.au>
|
||
|
---
|
||
|
kexec/kexec-syscall.h | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
|
||
|
index c0d0beadf932..3b5c528d8aac 100644
|
||
|
--- a/kexec/kexec-syscall.h
|
||
|
+++ b/kexec/kexec-syscall.h
|
||
|
@@ -48,6 +48,9 @@
|
||
|
#ifdef __m68k__
|
||
|
#define __NR_kexec_load 313
|
||
|
#endif
|
||
|
+#ifdef __alpha__
|
||
|
+#define __NR_kexec_load 448
|
||
|
+#endif
|
||
|
#ifndef __NR_kexec_load
|
||
|
#error Unknown processor architecture. Needs a kexec_load syscall number.
|
||
|
#endif
|
||
|
--
|
||
|
2.13.0
|
||
|
|