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

Linus Torvalds (
Thu, 10 Jan 2002 20:29:56 -0800 (PST)

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).

Or is this some other problem (ie if you see this on non-ppc compilation,
holler, and we'll try to see what's up)


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