ia64/xen-unstable

view xenolinux-2.4.21-pre4-sparse/include/asm-xeno/irq.h @ 235:d7d0a23b2e07

bitkeeper revision 1.93 (3e5a4e6bkPheUp3x1uufN2MS3LAB7A)

Latest and Greatest version of XenoLinux based on the Linux-2.4.21-pre4
kernel.
author iap10@labyrinth.cl.cam.ac.uk
date Mon Feb 24 16:55:07 2003 +0000 (2003-02-24)
parents
children
line source
1 #ifndef _ASM_IRQ_H
2 #define _ASM_IRQ_H
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 */
13 #include <linux/config.h>
14 #include <asm/hypervisor.h>
15 #include <asm/ptrace.h>
17 #define NET_TX_IRQ _EVENT_NET_TX
18 #define NET_RX_IRQ _EVENT_NET_RX
19 #define NET2_TX_IRQ _EVENT_NET2_TX
20 #define NET2_RX_IRQ _EVENT_NET2_RX
21 #define TIMER_IRQ _EVENT_TIMER
23 #define NR_IRQS (sizeof(HYPERVISOR_shared_info->events) * 8)
25 #define irq_cannonicalize(_irq) (_irq)
27 extern void disable_irq(unsigned int);
28 extern void disable_irq_nosync(unsigned int);
29 extern void enable_irq(unsigned int);
31 #ifdef CONFIG_X86_LOCAL_APIC
32 #define ARCH_HAS_NMI_WATCHDOG /* See include/linux/nmi.h */
33 #endif
35 #endif /* _ASM_IRQ_H */