Skip to contentSkip to conversation

kexec-tools: Remove duplicate definition of ramdisk

PATCH Applied Petr Tesarik 2 participants 2 messages Apr 26, 2021 – May 2, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec-tools: Remove duplicate definition of ramdisk

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

---
 kexec/arch/ppc/kexec-elf-ppc.c |    1 -
 1 file changed, 1 deletion(-)
kexec/arch/ppc/kexec-elf-ppc.c +0 -1
@@ -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 *);
 

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec