[TRIVIAL PATCH] linuxppc_2_4_devel: boot/common/misc-simple.c
Dale Farnsworth
dale at farnsworth.org
Fri Apr 4 06:08:52 EST 2003
Declare decompress_kernel to avoid compiler warnings about type mismatches.
Thanks,
-Dale
===== arch/ppc/boot/common/misc-simple.c 1.13 vs edited =====
--- 1.13/arch/ppc/boot/common/misc-simple.c Thu Mar 27 02:24:15 2003
+++ edited/arch/ppc/boot/common/misc-simple.c Thu Apr 3 12:57:39 2003
@@ -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/
More information about the Linuxppc-dev
mailing list