diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 17:59:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 17:59:11 -0400 |
commit | 2b12a4c524812fb3f6ee590a02e65b95c8c32229 (patch) | |
tree | 6d319a371c56798d2d5c3ad21801eba142a1c77e /arch/ia64/include/asm/irq.h | |
parent | 4744b43431e8613f920c5cba88346756f53c5165 (diff) | |
parent | 7f30491ccd28627742e37899453ae20e3da8e18f (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] Move include/asm-ia64 to arch/ia64/include/asm
Diffstat (limited to 'arch/ia64/include/asm/irq.h')
-rw-r--r-- | arch/ia64/include/asm/irq.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/irq.h b/arch/ia64/include/asm/irq.h new file mode 100644 index 000000000000..3627116fb0e2 --- /dev/null +++ b/arch/ia64/include/asm/irq.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #ifndef _ASM_IA64_IRQ_H | ||
2 | #define _ASM_IA64_IRQ_H | ||
3 | |||
4 | /* | ||
5 | * Copyright (C) 1999-2000, 2002 Hewlett-Packard Co | ||
6 | * David Mosberger-Tang <davidm@hpl.hp.com> | ||
7 | * Stephane Eranian <eranian@hpl.hp.com> | ||
8 | * | ||
9 | * 11/24/98 S.Eranian updated TIMER_IRQ and irq_canonicalize | ||
10 | * 01/20/99 S.Eranian added keyboard interrupt | ||
11 | * 02/29/00 D.Mosberger moved most things into hw_irq.h | ||
12 | */ | ||
13 | |||
14 | #include <linux/types.h> | ||
15 | #include <linux/cpumask.h> | ||
16 | #include <asm-ia64/nr-irqs.h> | ||
17 | |||
18 | static __inline__ int | ||
19 | irq_canonicalize (int irq) | ||
20 | { | ||
21 | /* | ||
22 | * We do the legacy thing here of pretending that irqs < 16 | ||
23 | * are 8259 irqs. This really shouldn't be necessary at all, | ||
24 | * but we keep it here as serial.c still uses it... | ||
25 | */ | ||
26 | return ((irq == 2) ? 9 : irq); | ||
27 | } | ||
28 | |||
29 | extern void set_irq_affinity_info (unsigned int irq, int dest, int redir); | ||
30 | bool is_affinity_mask_valid(cpumask_t cpumask); | ||
31 | |||
32 | #define is_affinity_mask_valid is_affinity_mask_valid | ||
33 | |||
34 | #endif /* _ASM_IA64_IRQ_H */ | ||