2005-09-07 07:15:41

by Magnus Damm

[permalink] [raw]
Subject: [PATCH] i386: CONFIG_ACPI_SRAT typo fix

This patch for 2.6.13-git6 fixes a typo involving CONFIG_ACPI_SRAT.

Signed-off-by: Magnus Damm <[email protected]>
----

--- from-0005/include/asm-i386/mmzone.h
+++ to-0008/include/asm-i386/mmzone.h 2005-09-07 15:06:52.000000000 +0900
@@ -29,7 +29,7 @@ static inline void get_memcfg_numa(void)
#ifdef CONFIG_X86_NUMAQ
if (get_memcfg_numaq())
return;
-#elif CONFIG_ACPI_SRAT
+#elif defined(CONFIG_ACPI_SRAT)
if (get_memcfg_from_srat())
return;
#endif