diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-09-14 12:24:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-14 12:24:00 -0400 |
commit | 83bd6998b04fc1bb7280b14f16b2bdbdc07c914b (patch) | |
tree | af1bbe2bac5752b69b1ac58bf5d822c735da439b /arch/ia64/include/asm/hardirq.h | |
parent | e7250b8ae3870f37f660c2f65cafcaba85e3bfd3 (diff) | |
parent | adee14b2e1557d0a8559f29681732d05a89dfc35 (diff) |
Merge commit 'v2.6.27-rc6' into timers/hpet
Diffstat (limited to 'arch/ia64/include/asm/hardirq.h')
-rw-r--r-- | arch/ia64/include/asm/hardirq.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/hardirq.h b/arch/ia64/include/asm/hardirq.h new file mode 100644 index 000000000000..140e495b8e0e --- /dev/null +++ b/arch/ia64/include/asm/hardirq.h | |||
@@ -0,0 +1,37 @@ | |||
1 | #ifndef _ASM_IA64_HARDIRQ_H | ||
2 | #define _ASM_IA64_HARDIRQ_H | ||
3 | |||
4 | /* | ||
5 | * Modified 1998-2002, 2004 Hewlett-Packard Co | ||
6 | * David Mosberger-Tang <davidm@hpl.hp.com> | ||
7 | */ | ||
8 | |||
9 | |||
10 | #include <linux/threads.h> | ||
11 | #include <linux/irq.h> | ||
12 | |||
13 | #include <asm/processor.h> | ||
14 | |||
15 | /* | ||
16 | * No irq_cpustat_t for IA-64. The data is held in the per-CPU data structure. | ||
17 | */ | ||
18 | |||
19 | #define __ARCH_IRQ_STAT 1 | ||
20 | |||
21 | #define local_softirq_pending() (local_cpu_data->softirq_pending) | ||
22 | |||
23 | #define HARDIRQ_BITS 14 | ||
24 | |||
25 | /* | ||
26 | * The hardirq mask has to be large enough to have space for potentially all IRQ sources | ||
27 | * in the system nesting on a single CPU: | ||
28 | */ | ||
29 | #if (1 << HARDIRQ_BITS) < NR_IRQS | ||
30 | # error HARDIRQ_BITS is too low! | ||
31 | #endif | ||
32 | |||
33 | extern void __iomem *ipi_base_addr; | ||
34 | |||
35 | void ack_bad_irq(unsigned int irq); | ||
36 | |||
37 | #endif /* _ASM_IA64_HARDIRQ_H */ | ||