softirq: Add linux/irq.h to make it compile again
authorThomas Gleixner <tglx@linutronix.de>
Wed, 19 Mar 2014 10:19:52 +0000 (11:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 19 Mar 2014 10:28:14 +0000 (11:28 +0100)
On Sparc and S390 the removal of irq.h from kernel_stat.h causes:

   kernel/softirq.c:774:9: error: 'NR_IRQS_LEGACY' undeclared

Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/softirq.c

index 490fcbb..b50990a 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/smp.h>
 #include <linux/smpboot.h>
 #include <linux/tick.h>
+#include <linux/irq.h>
 
 #define CREATE_TRACE_POINTS
 #include <trace/events/irq.h>