4fb08fc5155d756d85ce24174a7760e176990625
[openwrt/svn-archive/archive.git] / package / kexec-tools / patches / 0001-arm.patch
1 diff -ruN kexec-tools/kexec/arch/arm/kexec-arm.c kexec-tools-mod/kexec/arch/arm/kexec-arm.c
2 --- kexec-tools/kexec/arch/arm/kexec-arm.c 2008-07-14 05:28:19.000000000 -0600
3 +++ kexec-tools-mod/kexec/arch/arm/kexec-arm.c 2008-12-04 17:35:46.913936145 -0600
4 @@ -110,6 +110,8 @@
5
6 const struct arch_map_entry arches[] = {
7 { "arm", KEXEC_ARCH_ARM },
8 + { "armv5teb", KEXEC_ARCH_ARM },
9 + { "armv6l", KEXEC_ARCH_ARM },
10 { 0 },
11 };
12
13 diff -ruN kexec-tools/kexec/arch/arm/kexec-zImage-arm.c kexec-tools-mod/kexec/arch/arm/kexec-zImage-arm.c
14 --- kexec-tools/kexec/arch/arm/kexec-zImage-arm.c 2008-07-14 05:28:19.000000000 -0600
15 +++ kexec-tools-mod/kexec/arch/arm/kexec-zImage-arm.c 2008-12-04 17:03:41.512536642 -0600
16 @@ -11,7 +11,7 @@
17 #include <stdint.h>
18 #include <getopt.h>
19 #include <arch/options.h>
20 -#include <asm/page.h>
21 +#include <unistd.h>
22 #include "../../kexec.h"
23
24 #define COMMAND_LINE_SIZE 1024