linuxppc_2_4_devel: boot/common/misc-simple.c
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/
Quoted 1 line · Dale Farnsworth
Declare
decompress_kernelto avoid compiler warnings about type mismatches.
That's a "d'oh", and fixed in a different manner that will be pulled in for 2.4.21-pre7, once tagged.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/