RE: [2.6 patch] let IA64_GENERIC select more stuff

From: Chen, Kenneth W
Date: Wed Feb 08 2006 - 17:24:16 EST

Adrian Bunk wrote on Wednesday, February 08, 2006 1:38 PM
> > Not really, it helps a bit by selecting some things we know we need
> > for all GENERIC builds. True we can't make it bullet proof, but whats
> > there is better than removing it.
> Like the bug of allowing the illegal configuration NUMA=y, FLATMEM=y?

You can't even compile a kernel with that combination ...
Just about every arch except ia64 turns off ARCH_FLATMEM_ENABLE if NUMA=y.
ia64 can just do the same thing. Instead of mucking around with select,
fix the bug at its source. The real culprit is in mm/Kconfig, it shouldn't

Fix ARCH_FLATMEM_ENABLE dependency in ia64 arch.

Signed-off-by: Ken Chen <kenneth.w.chen@xxxxxxxxx>

--- ./arch/ia64/Kconfig.orig 2006-02-08 14:57:40.597354431 -0800
+++ ./arch/ia64/Kconfig 2006-02-08 15:04:15.552427718 -0800
@@ -298,7 +298,8 @@ config ARCH_DISCONTIGMEM_ENABLE
See <file:Documentation/vm/numa> for more.

- def_bool y
+ depends on !NUMA
+ def_bool y if !NUMA

def_bool y

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at