[PATCH] kexec-tools: Remove duplicate definition of ramdisk

Petr Tesarik ptesarik at suse.cz
Mon Apr 26 14:29:51 BST 2021


The ramdisk variable is defined in kexec/arch/ppc/kexec-ppc.c. This
other definition is not needed and breaks build with -fno-common.

Signed-off-by: Petr Tesarik <ptesarik at suse.com>
---
 kexec/arch/ppc/kexec-elf-ppc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/kexec/arch/ppc/kexec-elf-ppc.c
+++ b/kexec/arch/ppc/kexec-elf-ppc.c
@@ -33,7 +33,6 @@
 static const int probe_debug = 0;
 
 unsigned char reuse_initrd;
-const char *ramdisk;
 int create_flatten_tree(struct kexec_info *, unsigned char **, unsigned long *,
 			char *);
 



More information about the kexec mailing list