irq_work: fix compile failure on tile from missing include
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 11 Apr 2012 16:21:39 +0000 (12:21 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 13 Apr 2012 17:15:16 +0000 (13:15 -0400)
Building with IRQ_WORK configured results in

kernel/irq_work.c: In function ‘irq_work_run’:
kernel/irq_work.c:110: error: implicit declaration of function ‘irqs_disabled’

The appropriate header just needs to be included.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/irq_work.c

index 0c56d44b9fd5736f05498966b332fa97b30356ac..1588e3b2871b9e28a68316f91ca418d44a75cba2 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/irq_work.h>
 #include <linux/percpu.h>
 #include <linux/hardirq.h>
+#include <linux/irqflags.h>
 #include <asm/processor.h>
 
 /*