Skip to content

Commit ef1f098

Browse files
cmetcalf-tileraPaul Gortmaker
authored andcommitted
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 <[email protected]> Signed-off-by: Paul Gortmaker <[email protected]>
1 parent 85f8f77 commit ef1f098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/irq_work.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <linux/irq_work.h>
1212
#include <linux/percpu.h>
1313
#include <linux/hardirq.h>
14+
#include <linux/irqflags.h>
1415
#include <asm/processor.h>
1516

1617
/*

0 commit comments

Comments
 (0)