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

From: Linus Torvalds
Date: Tue Jun 30 2009 - 19:06:38 EST




On Tue, 30 Jun 2009, Linus Torvalds wrote:
>
> I don't see any single-use trick then, and so it needs the whole statement
> expression mess.

Hmm. Does (((x)-1) | mask)+1) work?

I haven't thought it fully through, but that _should_ take care of the
"already aligned" case, no?

Linus
--
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/