ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/irq.h @ 8534:da7873110bbb

Tiny bootstrap cleanup.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jan 09 19:46:46 2006 +0100 (2006-01-09)
parents 06d84bf87159
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 <linux/sched.h>
15 /* include comes from machine specific directory */
16 #include "irq_vectors.h"
17 #include <asm/thread_info.h>
19 static __inline__ int irq_canonicalize(int irq)
20 {
21 return ((irq == 2) ? 9 : irq);
22 }
24 #ifdef CONFIG_X86_LOCAL_APIC
25 #define ARCH_HAS_NMI_WATCHDOG /* See include/linux/nmi.h */
26 #endif
28 #define KDB_VECTOR 0xf9
30 # define irq_ctx_init(cpu) do { } while (0)
32 struct irqaction;
33 struct pt_regs;
34 int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
36 #endif /* _ASM_IRQ_H */