summaryrefslogtreecommitdiff
path: root/include/linux/cpu_smt.h
diff options
context:
space:
mode:
authorLaurent Dufour <ldufour@linux.ibm.com>2023-07-05 17:51:34 +0300
committerThomas Gleixner <tglx@linutronix.de>2023-07-28 10:53:36 +0300
commit7a4dcb4a5de1214c4a59448a759e2e264c2c4473 (patch)
tree0f5d4063e1374806bbf377ee6d21499914f9d26f /include/linux/cpu_smt.h
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
downloadlinux-7a4dcb4a5de1214c4a59448a759e2e264c2c4473.tar.xz
cpu/hotplug: Remove dependancy against cpu_primary_thread_mask
The commit 18415f33e2ac ("cpu/hotplug: Allow "parallel" bringup up to CPUHP_BP_KICK_AP_STATE") introduce a dependancy against a global variable cpu_primary_thread_mask exported by the X86 code. This variable is only used when CONFIG_HOTPLUG_PARALLEL is set. Since cpuhp_get_primary_thread_mask() and cpuhp_smt_aware() are only used when CONFIG_HOTPLUG_PARALLEL is set, don't define them when it is not set. No functional change. 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-2-ldufour@linux.ibm.com
Diffstat (limited to 'include/linux/cpu_smt.h')
0 files changed, 0 insertions, 0 deletions