OSDN Git Service

x86/topology: Provide topology_smt_supported()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 08:37:20 +0000 (10:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 12:20:57 +0000 (14:20 +0200)
commitf048c399e0f7490ab7296bc2c255d37eb14a9675
tree6c4cac4f34e78864aaba1088c76ac052203f7976
parent6a4d2657e048f096c7ffcad254010bd94891c8c0
x86/topology: Provide topology_smt_supported()

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>
arch/x86/include/asm/topology.h
arch/x86/kernel/smpboot.c