Re: [PATCH] Fix fs/fat/inode.c when compiled with gcc-3.0.x

Tom Rini (
Fri, 11 Jan 2002 08:29:50 -0700

On Thu, Jan 10, 2002 at 08:29:56PM -0800, Linus Torvalds wrote:
> On Thu, 10 Jan 2002, Jeff Garzik wrote:
> >
> > wow, I always assumed the compiler was smart enough to replace a "/ 512"
> > with a shift.
> It is, but there was a bug in the PPC machine description in 3.0.x
> (x=0,1), or something. It's supposedly fixed in later gcc's.
> Tom, which gcc version do you have? I thought the fix made it into 3.0.3
> (and from other issues I suspect it's better to upgrade to that anyway for
> kernel compilation).

This was indeed on PPC (I tried x86 w/ the same package but it worked)
running gcc-3.0.3-1 (from Debian/sid). So it seems the fix didn't make
it into a release yet. I guess I'll go hunt down some compiler people
and get them to fix it.

Tom Rini (TR1265)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at