Commit f6be6903 authored by Abel Vesa's avatar Abel Vesa Committed by Greg Kroah-Hartman
Browse files

cpu/hotplug: Non-SMP machines do not make use of booted_once

commit 269777aa upstream.

Commit 0cc3cd21 ("cpu/hotplug: Boot HT siblings at least once")
breaks non-SMP builds.

[ I suspect the 'bool' fields should just be made to be bitfields and be
  exposed regardless of configuration, but that's a separate cleanup
  that I'll leave to the owners of this file for later.   - Linus ]

Fixes: 0cc3cd21

 ("cpu/hotplug: Boot HT siblings at least once")
Cc: Dave Hansen <>
Cc: Thomas Gleixner <>
Cc: Tony Luck <>
Signed-off-by: default avatarAbel Vesa <>
Signed-off-by: default avatarLinus Torvalds <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 3b39dc74
......@@ -2267,6 +2267,8 @@ void __init boot_cpu_init(void)
void __init boot_cpu_hotplug_init(void)
this_cpu_write(cpuhp_state.booted_once, true);
this_cpu_write(cpuhp_state.state, CPUHP_ONLINE);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment