Skip to content

Commit 9f081ce

Browse files
committed
[IA64] Move local_softirq_pending() definition
Ugly #include dependencies. We need to have local_softirq_pending() defined before it gets used in <linux/interrupt.h>. But <asm/hardirq.h> provides the definition *after* this #include chain: <linux/irq.h> <asm/irq.h> <asm/hw_irq.h> <linux/interrupt.h> Signed-off-by: Tony Luck <[email protected]>
1 parent 43e3bf2 commit 9f081ce

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

arch/ia64/include/asm/hardirq.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
* David Mosberger-Tang <[email protected]>
77
*/
88

9-
10-
#include <linux/threads.h>
11-
#include <linux/irq.h>
12-
13-
#include <asm/processor.h>
14-
159
/*
1610
* No irq_cpustat_t for IA-64. The data is held in the per-CPU data structure.
1711
*/
@@ -20,6 +14,11 @@
2014

2115
#define local_softirq_pending() (local_cpu_data->softirq_pending)
2216

17+
#include <linux/threads.h>
18+
#include <linux/irq.h>
19+
20+
#include <asm/processor.h>
21+
2322
extern void __iomem *ipi_base_addr;
2423

2524
void ack_bad_irq(unsigned int irq);

0 commit comments

Comments
 (0)