[PATCH, v2] i386: tighten dependencies of CPU_SUP_*_32

From: Jan Beulich
Date: Thu Apr 28 2011 - 05:02:30 EST


Building in support for either of these CPUs is pointless when e.g.
M686 was selected (as such a kernel would use cmov instructions, which
aren't available on these older CPUs).

v2: Drop (inapprorpiate) change to CPU_SUP_TRANSMETA_32.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

---
arch/x86/Kconfig.cpu | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- 2.6.39-rc5/arch/x86/Kconfig.cpu
+++ 2.6.39-rc5-i386-cpu-sup-dependencies/arch/x86/Kconfig.cpu
@@ -440,7 +440,7 @@ config CPU_SUP_INTEL
config CPU_SUP_CYRIX_32
default y
bool "Support Cyrix processors" if PROCESSOR_SELECT
- depends on !64BIT
+ depends on M386 || M486 || M586 || M586TSC || M586MMX || (EXPERT && !64BIT)
---help---
This enables detection, tunings and quirks for Cyrix processors

@@ -494,7 +494,7 @@ config CPU_SUP_TRANSMETA_32
config CPU_SUP_UMC_32
default y
bool "Support UMC processors" if PROCESSOR_SELECT
- depends on !64BIT
+ depends on M386 || M486 || (EXPERT && !64BIT)
---help---
This enables detection, tunings and quirks for UMC processors




--
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/