From: KAMEZAWA Hiroyuki In file included from include/asm/mmzone.h:18, from include/linux/mmzone.h:439, 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 Signed-off-by: Andrew Morton --- include/asm-i386/mmzone.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/asm-i386/mmzone.h~config_acpi_srat-numa-build-fix include/asm-i386/mmzone.h --- a/include/asm-i386/mmzone.h~config_acpi_srat-numa-build-fix +++ a/include/asm-i386/mmzone.h @@ -14,7 +14,7 @@ extern struct pglist_data *node_data[]; #ifdef CONFIG_X86_NUMAQ #include -#else /* summit or generic arch */ +#elif defined(CONFIG_ACPI_SRAT)/* summit or generic arch */ #include #endif _