diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-04-11 12:21:39 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-13 13:15:16 -0400 |
commit | ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc (patch) | |
tree | 7865706f7112dbb5c195c41695bbfdcf9e5471ee | |
parent | 85f8f7759e418c814ee2ceacf73eddb9bed39492 (diff) | |
download | linux-stable-ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc.tar.gz linux-stable-ef1f0982540e5f79c8bbf3675bbc0a9734dba3fc.tar.bz2 linux-stable-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>
-rw-r--r-- | kernel/irq_work.c | 1 |
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> /* |