Re: [PATCH] fix zlib debug in ppc boot header

From: Tom Rini
Date: Wed Jul 28 2004 - 10:04:46 EST


On Wed, Jul 28, 2004 at 01:34:55PM +0200, Arjan van de Ven wrote:

> On Wed, 2004-07-28 at 13:22, Olaf Hering wrote:
> > The ppc bootloader code will not compile with zlib debug enabled.
> > printf was not defined. Tested with vmlinux.coff
> > This patch was sent out earlier. Appearently it is not possible
> > to use the generic zlib copy in linux/lib
>
> actually it should be possible. Ok so it needs to be compiled as 32 bit,
> but surely just #include-ing the /linux/lib version, or even better, a
> few Makefile tricks should allow that, right ?

Arjan is correct, it should be very possible to use the copy in
lib/zlib_deflate as mpm had patches at one point to do just this.

Further, I'd rather leave the zlib debug stuff as is in arch/ppc/boot.
Olaf, has having this code work for you ever been useful? Thanks.

--
Tom Rini
http://gate.crashing.org/~trini/

Attachment: signature.asc
Description: Digital signature