From: Frederic Weisbecker <[email protected]> All softirqs must be set enabled on boot.
Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Joel Fernandes <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Pavan Kondeti <[email protected]> Cc: Paul E . McKenney <[email protected]> Cc: David S . Miller <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> --- kernel/softirq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/softirq.c b/kernel/softirq.c index d305b4c8d1a7..e957615102dc 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -49,7 +49,9 @@ */ #ifndef __ARCH_IRQ_STAT -DEFINE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); +DEFINE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat) = { + .__softirq_data = SOFTIRQ_DATA_INIT, +}; EXPORT_PER_CPU_SYMBOL(irq_stat); #endif -- 2.21.0

