summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:50:43 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:50:43 +0100
commitc6b3f2d2d325075c5c4d57f3f69f24d39b8cab14 (patch)
tree919386a4dc7dbbcdc3ada6fdc4b02c35580b1e36 /meta
parente7be8af15129caa0c79def705ceb2b87bd9caaa3 (diff)
downloadpoky-c6b3f2d2d325075c5c4d57f3f69f24d39b8cab14.tar.gz
kexec-tools: Update after linux-libc-headers changes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/kexec/kexec-tools-1.101/recentheader.patch21
-rw-r--r--meta/packages/kexec/kexec-tools.inc3
2 files changed, 23 insertions, 1 deletions
diff --git a/meta/packages/kexec/kexec-tools-1.101/recentheader.patch b/meta/packages/kexec/kexec-tools-1.101/recentheader.patch
new file mode 100644
index 0000000000..8a4c504497
--- /dev/null
+++ b/meta/packages/kexec/kexec-tools-1.101/recentheader.patch
@@ -0,0 +1,21 @@
1Index: kexec-tools-1.101/kexec/arch/i386/kexec-multiboot-x86.c
2===================================================================
3--- kexec-tools-1.101.orig/kexec/arch/i386/kexec-multiboot-x86.c 2009-06-12 12:09:04.000000000 +0100
4+++ kexec-tools-1.101/kexec/arch/i386/kexec-multiboot-x86.c 2009-06-12 12:09:44.000000000 +0100
5@@ -47,7 +47,6 @@
6 #include <getopt.h>
7 #include <elf.h>
8 #include <boot/elf_boot.h>
9-#include <asm/page.h>
10 #include <ip_checksum.h>
11 #include "../../kexec.h"
12 #include "../../kexec-elf.h"
13@@ -341,7 +340,7 @@
14 /* Pick the next aligned spot to load it in */
15 freespace = add_buffer(info,
16 buf, mod_size, mod_size,
17- PAGE_SIZE, 0, 0xffffffffUL, 1);
18+ getpagesize(), 0, 0xffffffffUL, 1);
19
20 /* Add the module command line */
21 sprintf(mod_clp, "%s", mod_command_line);
diff --git a/meta/packages/kexec/kexec-tools.inc b/meta/packages/kexec/kexec-tools.inc
index f806e71480..242e206faa 100644
--- a/meta/packages/kexec/kexec-tools.inc
+++ b/meta/packages/kexec/kexec-tools.inc
@@ -10,4 +10,5 @@ inherit autotools
10 10
11SRC_URI = "http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-${PV}.tar.gz \ 11SRC_URI = "http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-${PV}.tar.gz \
12 file://kexec-tools-arm.patch;patch=1 \ 12 file://kexec-tools-arm.patch;patch=1 \
13 file://kexec-arm-atags.patch;patch=1" 13 file://kexec-arm-atags.patch;patch=1 \
14 file://recentheader.patch;patch=1"