cpu/SMT: Fix cpu_smt_possible() comment
authorZhang Rui <rui.zhang@intel.com>
Fri, 28 Jul 2023 15:53:13 +0000 (23:53 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 31 Jul 2023 15:32:44 +0000 (17:32 +0200)
commit52b38b7ad589c89a8c69272497bed20034f8e322
tree7b96d172aee8985e254fa0bcaadac30a30110a2a
parent7f48405c3c3437d578d0f1e4287aa0a3bfa5623f
cpu/SMT: Fix cpu_smt_possible() comment

Commit e1572f1d08be ("cpu/SMT: create and export cpu_smt_possible()")
introduces cpu_smt_possible() to represent if SMT is theoretically
possible. It returns true when SMT is supported and not forcefully
disabled ('nosmt=force'). But the comment of it says "Returns true if
SMT is not supported of forcefully (irreversibly) disabled", which is
wrong. Fix that comment accordingly.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20230728155313.44170-1-rui.zhang@intel.com
kernel/cpu.c