Re: [BUG 2.6.31-rc1] HIGHMEM64G causes hang in PCI init on 32-bitx86

From: H. Peter Anvin
Date: Tue Jun 30 2009 - 19:19:50 EST


Linus Torvalds wrote:
>
> On Tue, 30 Jun 2009, Yinghai Lu wrote:
>> how about x = 0, y = 0x100?
>
> Yeah, no. Peter's trick doesn't work. Good catch.
>
> I don't see any single-use trick then, and so it needs the whole statement
> expression mess.
>

Yes, the | trick only works if you know you have a nonzero alignment pad
(or you want a full-block pad in the empty case.)

-hpa

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