[tip:x86/urgent] x86: Remove unnecessary check in detect_ht()

tip-bot for Nikhil P Rao
2011-05-25T21:35:04Z

Commit-ID: 8b27f2ff7a24f0735c96055e676872f05398d99b
Gitweb: http://git.kernel.org/tip/8b27f2ff7a24f0735c96055e676872f05398d99b
Author: Nikhil P Rao <nikhil.rao@intel.com>
AuthorDate: Wed, 25 May 2011 10:18:41 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 25 May 2011 23:01:08 +0200

x86: Remove unnecessary check in detect_ht()

This patch removes a check that causes incorrect scheduler
domain setup (SMP instead of SMT) and bootlog warning messages
when cpuid extensions for topology enumeration are not supported
and the number of processors reported to the OS is smaller than
smp_num_siblings.

Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Nikhil P Rao <nikhil.rao@intel.com>
Link: http://lkml.kernel.org/r/1306343921.19325.1.camel@fedora13
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/cpu/common.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index c8b4162..53f02f5 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -477,13 +477,6 @@ void __cpuinit detect_ht(struct cpuinfo_x86 *c)