summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001b.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/001b.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/001b.patch')
-rw-r--r--recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001b.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001b.patch b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001b.patch
new file mode 100644
index 0000000..400f7fc
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/001b.patch
@@ -0,0 +1,34 @@
+--- b/include/linux/cpu.h
++++ a/include/linux/cpu.h
+@@ -29,7 +29,7 @@
+ };
+
+ extern void boot_cpu_init(void);
++extern void boot_cpu_state_init(void);
+-extern void boot_cpu_hotplug_init(void);
+
+ extern int register_cpu(struct cpu *cpu, int num);
+ extern struct device *get_cpu_device(unsigned cpu);
+--- b/init/main.c
++++ a/init/main.c
+@@ -509,8 +509,8 @@
+ setup_command_line(command_line);
+ setup_nr_cpu_ids();
+ setup_per_cpu_areas();
++ boot_cpu_state_init();
+ smp_prepare_boot_cpu(); /* arch-specific boot-cpu hooks */
+- boot_cpu_hotplug_init();
+
+ build_all_zonelists(NULL, NULL);
+ page_alloc_init();
+--- b/kernel/cpu.c
++++ a/kernel/cpu.c
+@@ -1944,7 +1944,7 @@
+ /*
+ * Must be called _AFTER_ setting up the per_cpu areas
+ */
++void __init boot_cpu_state_init(void)
+-void __init boot_cpu_hotplug_init(void)
+ {
+ per_cpu_ptr(&cpuhp_state, smp_processor_id())->state = CPUHP_ONLINE;
+ }