summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch')
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch b/meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch
index b91608e52b..36b0845f4a 100644
--- a/meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch
+++ b/meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch
@@ -1,20 +1,21 @@
1From d294c5039753a36506949ba5dc782a4c0b307b74 Mon Sep 17 00:00:00 2001 1From bb6a26371d15473b380459ac4404bf330634b585 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 20 Dec 2019 17:21:08 +0100 3Date: Fri, 20 Dec 2019 17:21:08 +0100
4Subject: [PATCH] kexec: un-break the build on 32 bit x86 4Subject: [PATCH] kexec: un-break the build on 32 bit x86
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
8--- 9---
9 kexec/arch/i386/Makefile | 1 + 10 kexec/arch/i386/Makefile | 1 +
10 kexec/arch/i386/kexec-x86.h | 4 ++++ 11 kexec/arch/i386/kexec-x86.h | 4 ++++
11 2 files changed, 5 insertions(+) 12 2 files changed, 5 insertions(+)
12 13
13diff --git a/kexec/arch/i386/Makefile b/kexec/arch/i386/Makefile 14diff --git a/kexec/arch/i386/Makefile b/kexec/arch/i386/Makefile
14index 105cefd..25df57a 100644 15index f486103..5d560be 100644
15--- a/kexec/arch/i386/Makefile 16--- a/kexec/arch/i386/Makefile
16+++ b/kexec/arch/i386/Makefile 17+++ b/kexec/arch/i386/Makefile
17@@ -11,6 +11,7 @@ i386_KEXEC_SRCS += kexec/arch/i386/kexec-beoboot-x86.c 18@@ -12,6 +12,7 @@ i386_KEXEC_SRCS += kexec/arch/i386/kexec-beoboot-x86.c
18 i386_KEXEC_SRCS += kexec/arch/i386/kexec-nbi.c 19 i386_KEXEC_SRCS += kexec/arch/i386/kexec-nbi.c
19 i386_KEXEC_SRCS += kexec/arch/i386/x86-linux-setup.c 20 i386_KEXEC_SRCS += kexec/arch/i386/x86-linux-setup.c
20 i386_KEXEC_SRCS += kexec/arch/i386/crashdump-x86.c 21 i386_KEXEC_SRCS += kexec/arch/i386/crashdump-x86.c
@@ -23,7 +24,7 @@ index 105cefd..25df57a 100644
23 dist += kexec/arch/i386/Makefile $(i386_KEXEC_SRCS) \ 24 dist += kexec/arch/i386/Makefile $(i386_KEXEC_SRCS) \
24 kexec/arch/i386/crashdump-x86.h \ 25 kexec/arch/i386/crashdump-x86.h \
25diff --git a/kexec/arch/i386/kexec-x86.h b/kexec/arch/i386/kexec-x86.h 26diff --git a/kexec/arch/i386/kexec-x86.h b/kexec/arch/i386/kexec-x86.h
26index 1b58c3b..d6b10c0 100644 27index 0f941df..c423171 100644
27--- a/kexec/arch/i386/kexec-x86.h 28--- a/kexec/arch/i386/kexec-x86.h
28+++ b/kexec/arch/i386/kexec-x86.h 29+++ b/kexec/arch/i386/kexec-x86.h
29@@ -56,9 +56,13 @@ struct arch_options_t { 30@@ -56,9 +56,13 @@ struct arch_options_t {
@@ -38,5 +39,5 @@ index 1b58c3b..d6b10c0 100644
38 void multiboot_x86_usage(void); 39 void multiboot_x86_usage(void);
39+void multiboot2_x86_usage(void); 40+void multiboot2_x86_usage(void);
40 41
41 int elf_x86_probe(const char *buf, off_t len); 42 int multiboot2_x86_load(int argc, char **argv, const char *buf, off_t len,
42 int elf_x86_load(int argc, char **argv, const char *buf, off_t len, 43 struct kexec_info *info);