summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002l.patch
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-12-10 17:32:06 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2018-12-27 16:45:52 +0100
commit58af5f8ccb2f29acf4fd0182521f793c9e10d68e (patch)
treee7ec9f88ce462e8a0a831f9e77b2c36858dd1725 /recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002l.patch
parente25cc381c7ceeb325a038308c414975844ac7864 (diff)
linux kernel: update to 4.9.144 based fslc
Update to L4.9.123-2.3.0_8mm_ga release. Update to branch toradex_4.9-2.3.x-imx based on 4.9-2.3.x-imx branch of linux-fslc currently re-based to 4.9.144. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002l.patch')
-rw-r--r--recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002l.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002l.patch b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002l.patch
new file mode 100644
index 0000000..1069057
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002l.patch
@@ -0,0 +1,19 @@
+--- b/kernel/cpu.c
++++ a/kernel/cpu.c
+@@ -817,6 +817,7 @@
+
+ /* Park the smpboot threads */
+ kthread_park(per_cpu_ptr(&cpuhp_state, cpu)->thread);
++ smpboot_park_threads(cpu);
+
+ /*
+ * Prevent irq alloc/free while the dying cpu reorganizes the
+@@ -1388,7 +1389,7 @@
+ [CPUHP_AP_SMPBOOT_THREADS] = {
+ .name = "smpboot/threads:online",
+ .startup.single = smpboot_unpark_threads,
++ .teardown.single = NULL,
+- .teardown.single = smpboot_park_threads,
+ },
+ [CPUHP_AP_PERF_ONLINE] = {
+ .name = "perf:online",