x86: unify interrupt vector defines
[sfrench/cifs-2.6.git] / include / asm-x86 / irq_64.h
1 #ifndef _ASM_IRQ_H
2 #define _ASM_IRQ_H
3
4 /*
5  *      linux/include/asm/irq.h
6  *
7  *      (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar
8  *
9  *      IRQ/IPI changes taken from work by Thomas Radke
10  *      <tomsoft@informatik.tu-chemnitz.de>
11  */
12
13 #include <asm/apicdef.h>
14 #include <asm/irq_vectors.h>
15
16 static inline int irq_canonicalize(int irq)
17 {
18         return ((irq == 2) ? 9 : irq);
19 }
20
21 #define ARCH_HAS_NMI_WATCHDOG           /* See include/linux/nmi.h */
22
23 #ifdef CONFIG_HOTPLUG_CPU
24 #include <linux/cpumask.h>
25 extern void fixup_irqs(cpumask_t map);
26 #endif
27
28 #define __ARCH_HAS_DO_SOFTIRQ 1
29
30 #endif /* _ASM_IRQ_H */