[PATCH] CONFIG_ACPI_SRAT NUMA build fix

In file included from include/asm/mmzone.h:18,
from include/linux/mmzone.h:439,
<snip>
include/asm/srat.h:31:2: error: #error CONFIG_ACPI_SRAT not defined, and srat.h header has been included
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1

This can happen with CONFIG_NUMA && !CONFIG_ACPI && !CONFIG_X86_NUMAQ

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by KAMEZAWA Hiroyuki and committed by Linus Torvalds 4e54bdaa 0d673a5a

+1 -1
+1 -1
include/asm-i386/mmzone.h
··· 14 14 15 15 #ifdef CONFIG_X86_NUMAQ 16 16 #include <asm/numaq.h> 17 - #else /* summit or generic arch */ 17 + #elif defined(CONFIG_ACPI_SRAT)/* summit or generic arch */ 18 18 #include <asm/srat.h> 19 19 #endif 20 20