Messages in this thread Patch in this message | | | From | Frederic Weisbecker <> | Subject | [PATCH 25/37] powerpc: Init softirq enabled field | Date | Thu, 28 Feb 2019 18:12:30 +0100 |
| |
From: Frederic Weisbecker <fweisbec@gmail.com>
All softirqs must be set enabled on boot.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Cc: Joel Fernandes <joel@joelfernandes.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Pavan Kondeti <pkondeti@codeaurora.org> Cc: Paul E . McKenney <paulmck@linux.vnet.ibm.com> Cc: David S . Miller <davem@davemloft.net> Cc: Ingo Molnar <mingo@kernel.org> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> --- arch/powerpc/kernel/irq.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 916ddc4aac44..f5e35bbc2804 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c @@ -54,6 +54,7 @@ #include <linux/debugfs.h> #include <linux/of.h> #include <linux/of_irq.h> +#include <linux/bottom_half.h> #include <linux/uaccess.h> #include <asm/io.h> @@ -78,7 +79,9 @@ #include <asm/trace.h> #include <asm/cpu_has_feature.h> -DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); +DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat) = { + .__softirq_data = SOFTIRQ_DATA_INIT, +}; EXPORT_PER_CPU_SYMBOL(irq_stat); int __irq_offset_value; -- 2.21.0
| |