summaryrefslogtreecommitdiffstats
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-04-11 12:21:39 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-13 13:15:16 -0400
commitef1f0982540e5f79c8bbf3675bbc0a9734dba3fc (patch)
tree7865706f7112dbb5c195c41695bbfdcf9e5471ee /kernel/irq_work.c
parent85f8f7759e418c814ee2ceacf73eddb9bed39492 (diff)
downloadop-kernel-dev-ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc.zip
op-kernel-dev-ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc.tar.gz
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/irq_work.c')
-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>
/*
OpenPOWER on IntegriCloud