Skip to contentSkip to conversation

linuxppc_2_4_devel: boot/common/misc-simple.c

PATCH In review Dale Farnsworth 2 participants 2 messages Apr 3, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linuxppc_2_4_devel: boot/common/misc-simple.c

Declare decompress_kernel to avoid compiler warnings about type mismatches.

Thanks,
-Dale

===== arch/ppc/boot/common/misc-simple.c 1.13 vs edited =====

arch/ppc/boot/common/misc-simple.c +4 -1
@@ -78,6 +78,8 @@
 extern void serial_close(unsigned long com_port);
 extern void gunzip(void *, int, unsigned char *, int *);
 extern void serial_fixups(void);
+struct bi_record *decompress_kernel(unsigned long load_addr, int num_words,
+		unsigned long cksum, void *bp);
 
 /* Allow decompress_kernel to be hooked into.  This is the default. */
 void * __attribute__ ((weak))
@@ -88,7 +90,8 @@
 }
 
 struct bi_record *
-decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum)
+decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum,
+		void *bp)
 {
 #ifdef INTERACTIVE_CONSOLE
 	int timer = 0;

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/