x86/topology: Provide topology_smt_supported()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 08:37:20 +0000 (10:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:12:51 +0000 (18:12 +0200)
commit8eb2860590ba188c8d9fbd5497ac4bfd9848201b
treee5171e68eafe1e728ac14c21b1f76bda8bcaf12d
parentb84b9184651dd2a003459293ec7caa58e5423562
x86/topology: Provide topology_smt_supported()

commit f048c399e0f7490ab7296bc2c255d37eb14a9675 upstream

Provide information whether SMT is supoorted by the CPUs. Preparatory patch
for SMT control mechanism.

Suggested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/topology.h
arch/x86/kernel/smpboot.c