diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2008-02-27 16:16:30 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:51 -0400 |
commit | b089c12b25284a5e31ede7c98936a2b36a41e090 (patch) | |
tree | 3b96dda7b2264299a8fa568cf2878ffb60e3a7e9 /arch/x86/Kconfig | |
parent | e3100c82abd9aa643dc15828202aceeae3504e03 (diff) |
x86: X86_HT always enable on X86_64 SMP
X86_HT is used for hyperthreading or multicore on 32-bit.
The X86_HT on 64-bit is different from 32-bit, it means hyperthreading only.
And X86_HT is not used on 64-bit except from cpu/initel_cacheinfo.c.
Unify X86_HT for hyperthreading or multicore.
Turn X86_HT on when X86_64 and SMP are enabled.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ed7f72b39113..810248f01729 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -171,7 +171,7 @@ config X86_64_SMP | |||
171 | config X86_HT | 171 | config X86_HT |
172 | bool | 172 | bool |
173 | depends on SMP | 173 | depends on SMP |
174 | depends on (X86_32 && !(X86_VISWS || X86_VOYAGER)) || (X86_64 && !MK8) | 174 | depends on (X86_32 && !(X86_VISWS || X86_VOYAGER)) || X86_64 |
175 | default y | 175 | default y |
176 | 176 | ||
177 | config X86_BIOS_REBOOT | 177 | config X86_BIOS_REBOOT |
@@ -508,7 +508,7 @@ config NR_CPUS | |||
508 | 508 | ||
509 | config SCHED_SMT | 509 | config SCHED_SMT |
510 | bool "SMT (Hyperthreading) scheduler support" | 510 | bool "SMT (Hyperthreading) scheduler support" |
511 | depends on (X86_64 && SMP) || (X86_32 && X86_HT) | 511 | depends on X86_HT |
512 | help | 512 | help |
513 | SMT scheduler support improves the CPU scheduler's decision making | 513 | SMT scheduler support improves the CPU scheduler's decision making |
514 | when dealing with Intel Pentium 4 chips with HyperThreading at a | 514 | when dealing with Intel Pentium 4 chips with HyperThreading at a |
@@ -518,7 +518,7 @@ config SCHED_SMT | |||
518 | config SCHED_MC | 518 | config SCHED_MC |
519 | def_bool y | 519 | def_bool y |
520 | prompt "Multi-core scheduler support" | 520 | prompt "Multi-core scheduler support" |
521 | depends on (X86_64 && SMP) || (X86_32 && X86_HT) | 521 | depends on X86_HT |
522 | help | 522 | help |
523 | Multi-core scheduler support improves the CPU scheduler's decision | 523 | Multi-core scheduler support improves the CPU scheduler's decision |
524 | making when dealing with multi-core CPU chips at a cost of slightly | 524 | making when dealing with multi-core CPU chips at a cost of slightly |