summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002b.patch
blob: 1463abfa2ca0140f3616ac36cd5dfdba206bfb2c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- b/kernel/cpu.c
+++ a/kernel/cpu.c
@@ -2201,8 +2201,6 @@
  */
 void __init boot_cpu_hotplug_init(void)
 {
-#ifdef CONFIG_SMP
 	this_cpu_write(cpuhp_state.booted_once, true);
-#endif
 	this_cpu_write(cpuhp_state.state, CPUHP_ONLINE);
 }