summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-04-11 18:21:39 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-13 19:15:16 +0200
commitef1f0982540e5f79c8bbf3675bbc0a9734dba3fc (patch)
tree7865706f7112dbb5c195c41695bbfdcf9e5471ee /kernel
parentia64: populate the cmpxchg header with appropriate code (diff)
downloadlinux-ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc.tar.xz
linux-ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc.zip
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 0c56d44b9fd5..1588e3b2871b 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>
/*