summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-04-11 16:21:39 (GMT)
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-13 17:15:16 (GMT)
commitef1f0982540e5f79c8bbf3675bbc0a9734dba3fc (patch)
tree7865706f7112dbb5c195c41695bbfdcf9e5471ee /kernel
parent85f8f7759e418c814ee2ceacf73eddb9bed39492 (diff)
downloadlinux-ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc.tar.xz
irq_work: fix compile failure on tile from missing include
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq_work.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq_work.c b/kernel/irq_work.c
index 0c56d44..1588e3b 100644
--- a/kernel/irq_work.c
+++ b/kernel/irq_work.c
@@ -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>
/*