diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-12-10 17:32:06 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2018-12-27 16:45:52 +0100 |
commit | 58af5f8ccb2f29acf4fd0182521f793c9e10d68e (patch) | |
tree | e7ec9f88ce462e8a0a831f9e77b2c36858dd1725 /recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002k.patch | |
parent | e25cc381c7ceeb325a038308c414975844ac7864 (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/002k.patch')
-rw-r--r-- | recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002k.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002k.patch b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002k.patch new file mode 100644 index 0000000..09c6527 --- /dev/null +++ b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002k.patch @@ -0,0 +1,31 @@ +--- b/kernel/cpu.c ++++ a/kernel/cpu.c +@@ -955,19 +955,20 @@ + return ret; + } + +-static int cpu_down_maps_locked(unsigned int cpu, enum cpuhp_state target) +-{ +- if (cpu_hotplug_disabled) +- return -EBUSY; +- return _cpu_down(cpu, 0, target); +-} +- + static int do_cpu_down(unsigned int cpu, enum cpuhp_state target) + { + int err; + + cpu_maps_update_begin(); ++ ++ if (cpu_hotplug_disabled) { ++ err = -EBUSY; ++ goto out; ++ } ++ ++ err = _cpu_down(cpu, 0, target); ++ ++out: +- err = cpu_down_maps_locked(cpu, target); + cpu_maps_update_done(); + return err; + } |