Re: [BUG 2.6.31-rc1] HIGHMEM64G causes hang in PCI init on 32-bitx86
From: H. Peter Anvin
Date: Tue Jun 30 2009 - 15:46:23 EST
Yinghai Lu wrote:
>
> agreed, that is why we change round_up to take u64.
>
round_up() is a macro, it doesn't "take" anything per se...
> wonder if we should kill round_up and use roundup instead.
>
> in include/linux/kernel.h
> #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
Either that or we should change it to the form I specified...
-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/