1From 5e7ce27626a44428c01e0e5ab3fe60ef98ca788c Mon Sep 17 00:00:00 2001
2From: Petr Tesarik <ptesarik@suse.cz>
3Date: Mon, 26 Apr 2021 15:29:51 +0200
4Subject: kexec-tools: Remove duplicate definition of ramdisk
5
6The ramdisk variable is defined in kexec/arch/ppc/kexec-ppc.c. This
7other definition is not needed and breaks build with -fno-common.
8
9Signed-off-by: Petr Tesarik <ptesarik@suse.com>
10Signed-off-by: Simon Horman <horms@verge.net.au>
11[Retrieved from:
12https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=5e7ce27626a44428c01e0e5ab3fe60ef98ca788c]
13Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
14---
15 kexec/arch/ppc/kexec-elf-ppc.c | 1 -
16 1 file changed, 1 deletion(-)
17
18diff --git a/kexec/arch/ppc/kexec-elf-ppc.c b/kexec/arch/ppc/kexec-elf-ppc.c
19index ad43ad1..4a4886e 100644
20--- a/kexec/arch/ppc/kexec-elf-ppc.c
21+++ b/kexec/arch/ppc/kexec-elf-ppc.c
22@@ -33,7 +33,6 @@
23 static const int probe_debug = 0;
24
25 unsigned char reuse_initrd;
26-const char *ramdisk;
27 int create_flatten_tree(struct kexec_info *, unsigned char **, unsigned long *,
28 			char *);
29
30--
31cgit 1.2.3-1.el7
32
33