cpu/SMT: Remove topology_smt_supported()
authorLaurent Dufour <ldufour@linux.ibm.com>
Wed, 5 Jul 2023 14:51:38 +0000 (16:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 28 Jul 2023 07:53:37 +0000 (09:53 +0200)
commit91b4a7dbfe05ddb6fd3cf78cc11fb5ed64d3af90
tree1d6840f1f3084bfd9ac0801f7e05a512e5442e04
parent447ae4ac41130a7f127c2581a5e816bb0800b560
cpu/SMT: Remove topology_smt_supported()

Since the maximum number of threads is now passed to cpu_smt_set_num_threads(),
checking that value is enough to know whether SMT is supported.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20230705145143.40545-6-ldufour@linux.ibm.com
arch/x86/include/asm/topology.h
arch/x86/kernel/smpboot.c
kernel/cpu.c