diff options
author | iap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk> | 2004-01-12 08:53:30 +0000 |
---|---|---|
committer | iap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk> | 2004-01-12 08:53:30 +0000 |
commit | 6b5b22582f098f13cce9926f03d17092789ffa5e (patch) | |
tree | c5d9ac81db9517973b9a74fb017f1c9c90fca012 /xenolinux-2.4.24-sparse/include/asm-xeno/irq.h | |
parent | abc73fe73e5760d1f6836ea098813f4d65d2c097 (diff) | |
download | xen-6b5b22582f098f13cce9926f03d17092789ffa5e.tar.gz xen-6b5b22582f098f13cce9926f03d17092789ffa5e.tar.bz2 xen-6b5b22582f098f13cce9926f03d17092789ffa5e.zip |
bitkeeper revision 1.671 (4002608aofyioMya1eWuIFZIJHQO4Q)
Upgrade to Linux version 2.4.24
Diffstat (limited to 'xenolinux-2.4.24-sparse/include/asm-xeno/irq.h')
-rw-r--r-- | xenolinux-2.4.24-sparse/include/asm-xeno/irq.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/xenolinux-2.4.24-sparse/include/asm-xeno/irq.h b/xenolinux-2.4.24-sparse/include/asm-xeno/irq.h new file mode 100644 index 0000000000..3a4a3e394f --- /dev/null +++ b/xenolinux-2.4.24-sparse/include/asm-xeno/irq.h @@ -0,0 +1,31 @@ +#ifndef _ASM_IRQ_H +#define _ASM_IRQ_H + +/* + * linux/include/asm/irq.h + * + * (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar + * + * IRQ/IPI changes taken from work by Thomas Radke + * <tomsoft@informatik.tu-chemnitz.de> + */ + +#include <linux/config.h> +#include <asm/hypervisor.h> +#include <asm/ptrace.h> + +#define TIMER_IRQ _EVENT_TIMER + +#define NR_IRQS (sizeof(HYPERVISOR_shared_info->events) * 8) + +#define irq_cannonicalize(_irq) (_irq) + +extern void disable_irq(unsigned int); +extern void disable_irq_nosync(unsigned int); +extern void enable_irq(unsigned int); + +#ifdef CONFIG_X86_LOCAL_APIC +#define ARCH_HAS_NMI_WATCHDOG /* See include/linux/nmi.h */ +#endif + +#endif /* _ASM_IRQ_H */ |