|
@@ -2278,6 +2278,8 @@ void __init boot_cpu_init(void)
|
|
*/
|
|
*/
|
|
void __init boot_cpu_hotplug_init(void)
|
|
void __init boot_cpu_hotplug_init(void)
|
|
{
|
|
{
|
|
|
|
+#ifdef CONFIG_SMP
|
|
this_cpu_write(cpuhp_state.booted_once, true);
|
|
this_cpu_write(cpuhp_state.booted_once, true);
|
|
|
|
+#endif
|
|
this_cpu_write(cpuhp_state.state, CPUHP_ONLINE);
|
|
this_cpu_write(cpuhp_state.state, CPUHP_ONLINE);
|
|
}
|
|
}
|