diff options
| author | Tony Luck <tony.luck@intel.com> | 2010-09-20 16:15:07 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-10-19 07:31:11 -0400 |
| commit | 3c4ea5b4985ecf831e22034d5d5db6e6391f3911 (patch) | |
| tree | 233d81ab88885b003c40fd1968f77a9d8318fac6 | |
| parent | 57fa7214330be2e292ddb1402834ff0b221ef29a (diff) | |
[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 <tony.luck@intel.com>
[ cherry-picked from the ia64 tree to fix "2bf2160: irq: Add tracepoint to softirq_raise" ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
| -rw-r--r-- | arch/ia64/include/asm/hardirq.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/ia64/include/asm/hardirq.h b/arch/ia64/include/asm/hardirq.h index d514cd9edb49..8fb7d33a661f 100644 --- a/arch/ia64/include/asm/hardirq.h +++ b/arch/ia64/include/asm/hardirq.h | |||
| @@ -6,12 +6,6 @@ | |||
| 6 | * David Mosberger-Tang <davidm@hpl.hp.com> | 6 | * David Mosberger-Tang <davidm@hpl.hp.com> |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | |||
| 10 | #include <linux/threads.h> | ||
| 11 | #include <linux/irq.h> | ||
| 12 | |||
| 13 | #include <asm/processor.h> | ||
| 14 | |||
| 15 | /* | 9 | /* |
| 16 | * No irq_cpustat_t for IA-64. The data is held in the per-CPU data structure. | 10 | * No irq_cpustat_t for IA-64. The data is held in the per-CPU data structure. |
| 17 | */ | 11 | */ |
| @@ -20,6 +14,11 @@ | |||
| 20 | 14 | ||
| 21 | #define local_softirq_pending() (local_cpu_data->softirq_pending) | 15 | #define local_softirq_pending() (local_cpu_data->softirq_pending) |
| 22 | 16 | ||
| 17 | #include <linux/threads.h> | ||
| 18 | #include <linux/irq.h> | ||
| 19 | |||
| 20 | #include <asm/processor.h> | ||
| 21 | |||
| 23 | extern void __iomem *ipi_base_addr; | 22 | extern void __iomem *ipi_base_addr; |
| 24 | 23 | ||
| 25 | void ack_bad_irq(unsigned int irq); | 24 | void ack_bad_irq(unsigned int irq); |
