[PATCH -mm] x86 allnoconfig memory model

From: Randy Dunlap
Date: Mon Nov 26 2007 - 15:48:49 EST


This patch allows allnoconfig to build cleanly.

---

From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Make allnoconfig on x86_64 build by allowing ARCH_SELECT_MEMORY_MODEL
to be enabled on X86 32/64, not just X86_32.

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.24-rc3-mm1.orig/arch/x86/Kconfig
+++ linux-2.6.24-rc3-mm1/arch/x86/Kconfig
@@ -937,7 +937,7 @@ config ARCH_SPARSEMEM_ENABLE

config ARCH_SELECT_MEMORY_MODEL
def_bool y
- depends on X86_32 && ARCH_SPARSEMEM_ENABLE
+ depends on ARCH_SPARSEMEM_ENABLE

config ARCH_MEMORY_PROBE
def_bool X86_64

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/