Permalink
Browse files

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>
  • Loading branch information...
1 parent 85f8f77 commit ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc @cmetcalf-tilera cmetcalf-tilera committed with paulgortmaker Apr 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 kernel/irq_work.c
View
@@ -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>
/*

0 comments on commit ef1f098

Please sign in to comment.