aboutsummaryrefslogtreecommitdiffstats
path: root/package/kexec-tools/patches/0001-arm.patch
diff options
context:
space:
mode:
authorJose Vasconcellos <jvasco@verizon.net>2009-01-20 19:46:45 +0000
committerJose Vasconcellos <jvasco@verizon.net>2009-01-20 19:46:45 +0000
commitaf64ea8f8c6ac19a27d6ddb2b7508fe933696ae1 (patch)
treed1469354301f8809a38172cd8a11218d766fd6e8 /package/kexec-tools/patches/0001-arm.patch
parentce5b7766e64fcd3a8c5543046d29de710996b365 (diff)
downloadupstream-af64ea8f8c6ac19a27d6ddb2b7508fe933696ae1.tar.gz
upstream-af64ea8f8c6ac19a27d6ddb2b7508fe933696ae1.tar.bz2
upstream-af64ea8f8c6ac19a27d6ddb2b7508fe933696ae1.zip
kexec-tools update to version 2.0.0; add support for armeb.
SVN-Revision: 14121
Diffstat (limited to 'package/kexec-tools/patches/0001-arm.patch')
-rw-r--r--package/kexec-tools/patches/0001-arm.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/kexec-tools/patches/0001-arm.patch b/package/kexec-tools/patches/0001-arm.patch
new file mode 100644
index 0000000000..4fb08fc515
--- /dev/null
+++ b/package/kexec-tools/patches/0001-arm.patch
@@ -0,0 +1,24 @@
+diff -ruN kexec-tools/kexec/arch/arm/kexec-arm.c kexec-tools-mod/kexec/arch/arm/kexec-arm.c
+--- kexec-tools/kexec/arch/arm/kexec-arm.c 2008-07-14 05:28:19.000000000 -0600
++++ kexec-tools-mod/kexec/arch/arm/kexec-arm.c 2008-12-04 17:35:46.913936145 -0600
+@@ -110,6 +110,8 @@
+
+ const struct arch_map_entry arches[] = {
+ { "arm", KEXEC_ARCH_ARM },
++ { "armv5teb", KEXEC_ARCH_ARM },
++ { "armv6l", KEXEC_ARCH_ARM },
+ { 0 },
+ };
+
+diff -ruN kexec-tools/kexec/arch/arm/kexec-zImage-arm.c kexec-tools-mod/kexec/arch/arm/kexec-zImage-arm.c
+--- kexec-tools/kexec/arch/arm/kexec-zImage-arm.c 2008-07-14 05:28:19.000000000 -0600
++++ kexec-tools-mod/kexec/arch/arm/kexec-zImage-arm.c 2008-12-04 17:03:41.512536642 -0600
+@@ -11,7 +11,7 @@
+ #include <stdint.h>
+ #include <getopt.h>
+ #include <arch/options.h>
+-#include <asm/page.h>
++#include <unistd.h>
+ #include "../../kexec.h"
+
+ #define COMMAND_LINE_SIZE 1024