Subject: sparc64: Fix NR_PAGEFLAGS check Sparc64 requires that there be exactly 32 page flags in use by the VM. I guess it does not matter if the VM uses less? So change the test. Signed-off-by: Christoph Lameter --- arch/sparc64/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.25-rc8-mm1/arch/sparc64/mm/init.c =================================================================== --- linux-2.6.25-rc8-mm1.orig/arch/sparc64/mm/init.c 2008-04-02 20:59:08.476292142 -0700 +++ linux-2.6.25-rc8-mm1/arch/sparc64/mm/init.c 2008-04-02 20:59:24.792564378 -0700 @@ -1300,7 +1300,7 @@ void __init paging_init(void) * functions like clear_dcache_dirty_cpu use the cpu mask * in 13-bit signed-immediate instruction fields. */ - BUILD_BUG_ON(BITS_PER_LONG - NR_PAGEFLAGS != 32); + BUILD_BUG_ON(BITS_PER_LONG - NR_PAGEFLAGS < 32); BUILD_BUG_ON(SECTIONS_WIDTH + NODES_WIDTH + ZONES_WIDTH + ilog2(roundup_pow_of_two(NR_CPUS)) > BITS_PER_LONG - NR_PAGEFLAGS);