direct-io.hg

view xen/include/asm-ia64/linux/asm/irq.h @ 9315:4d4a700bea7a

Move __do_IRQ() definition to ia64 header file where it belongs.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Mar 18 11:12:45 2006 +0100 (2006-03-18)
parents 9312a3e8a6f8
children
line source
1 #ifndef _ASM_IA64_IRQ_H
2 #define _ASM_IA64_IRQ_H
4 /*
5 * Copyright (C) 1999-2000, 2002 Hewlett-Packard Co
6 * David Mosberger-Tang <davidm@hpl.hp.com>
7 * Stephane Eranian <eranian@hpl.hp.com>
8 *
9 * 11/24/98 S.Eranian updated TIMER_IRQ and irq_canonicalize
10 * 01/20/99 S.Eranian added keyboard interrupt
11 * 02/29/00 D.Mosberger moved most things into hw_irq.h
12 */
14 #define NR_IRQS 256
15 #define NR_IRQ_VECTORS NR_IRQS
17 static __inline__ int
18 irq_canonicalize (int irq)
19 {
20 /*
21 * We do the legacy thing here of pretending that irqs < 16
22 * are 8259 irqs. This really shouldn't be necessary at all,
23 * but we keep it here as serial.c still uses it...
24 */
25 return ((irq == 2) ? 9 : irq);
26 }
28 extern void disable_irq (unsigned int);
29 extern void disable_irq_nosync (unsigned int);
30 extern void enable_irq (unsigned int);
31 extern void set_irq_affinity_info (unsigned int irq, int dest, int redir);
33 #ifdef CONFIG_SMP
34 extern void move_irq(int irq);
35 #else
36 #define move_irq(irq)
37 #endif
39 struct irqaction;
40 struct pt_regs;
41 int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
43 extern fastcall unsigned int __do_IRQ(unsigned int irq, struct pt_regs *regs);
45 #endif /* _ASM_IA64_IRQ_H */