Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
422 | giacomo | 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 <linux/config.h> |
||
14 | #include <linux/sched.h> |
||
15 | /* include comes from machine specific directory */ |
||
16 | |||
17 | static __inline__ int irq_canonicalize(int irq) |
||
18 | { |
||
19 | return ((irq == 2) ? 9 : irq); |
||
20 | } |
||
21 | |||
22 | extern void disable_irq(unsigned int); |
||
23 | extern void disable_irq_nosync(unsigned int); |
||
24 | extern void enable_irq(unsigned int); |
||
25 | extern void release_x86_irqs(struct task_struct *); |
||
26 | |||
27 | #ifdef CONFIG_X86_LOCAL_APIC |
||
28 | #define ARCH_HAS_NMI_WATCHDOG /* See include/linux/nmi.h */ |
||
29 | #endif |
||
30 | |||
31 | #endif /* _ASM_IRQ_H */ |