From: Andi Kleen The code should deal with an additional empty zone, so fix up the #error. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton --- arch/i386/kernel/srat.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/i386/kernel/srat.c~x86_64-dma32-srat-fix arch/i386/kernel/srat.c --- devel/arch/i386/kernel/srat.c~x86_64-dma32-srat-fix 2005-09-11 22:35:25.000000000 -0700 +++ devel-akpm/arch/i386/kernel/srat.c 2005-09-11 22:35:25.000000000 -0700 @@ -137,8 +137,8 @@ static void __init parse_memory_affinity "enabled and removable" : "enabled" ) ); } -#if MAX_NR_ZONES != 3 -#error "MAX_NR_ZONES != 3, chunk_to_zone requires review" +#if MAX_NR_ZONES != 4 +#error "MAX_NR_ZONES != 4, chunk_to_zone requires review" #endif /* Take a chunk of pages from page frame cstart to cend and count the number * of pages in each zone, returned via zones[]. _