Re: Linux 2.4.21-pre7

Benjamin Herrenschmidt (benh@kernel.crashing.org)
09 Apr 2003 12:09:24 +0200


On Wed, 2003-04-09 at 11:55, mikpe@csd.uu.se wrote:
> Kaj-Michael Lang writes:
> > > So here goes -pre7. Hopefully the last -pre.
> > >
> > Won't compile for my PPC:
> > ---
> > -o vmlinux
> > drivers/ide/idedriver.o(.text+0x1a544): In function `pmac_outbsync':
> > : undefined reference to `io_flush'
> > drivers/ide/idedriver.o(.text+0x1a544): In function `pmac_outbsync':
> > : relocation truncated to fit: R_PPC_REL24 io_flush
>
> Someone updated pmac.c without testing it: io_flush() doesn't exist
> in 2.4.21-pre. Based on the diff from -pre6 to -pre7, I'd say the
> following is a reasonable approximation. My PM4400 runs with this
> patch right now.

Or just get my devel rsync.

Actually, what happened is that Marcelo took the version that was
in -ac tree, which I sent to Alan a while ago and is now outdated.
The io_flush macro was something I added to the arch includes and
later removed as I fixed the problem differently.

Marcelo: I sent you a fixed version, please do not apply this patch
but rather the one I sent you.

Ben.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/