1 #ifndef _ASM_IA64_IRQ_H
2 #define _ASM_IA64_IRQ_H
3
4 /*
5 * Copyright (C) 1999-2000 Hewlett-Packard Co
6 * Copyright (C) 1998-2000 David Mosberger-Tang <davidm@hpl.hp.com>
7 * Copyright (C) 1998 Stephane Eranian <eranian@hpl.hp.com>
8 *
9 * 11/24/98 S.Eranian updated TIMER_IRQ and irq_cannonicalize
10 * 01/20/99 S.Eranian added keyboard interrupt
11 * 02/29/00 D.Mosberger moved most things into hw_irq.h
12 */
13
14 #define NR_IRQS 256
15
16 static __inline__ int
17 irq_cannonicalize (int irq)
18 {
19 /*
20 * We do the legacy thing here of pretending that irqs < 16
21 * are 8259 irqs. This really shouldn't be necessary at all,
22 * but we keep it here as serial.c still uses it...
23 */
24 return ((irq == 2) ? 9 : irq);
25 }
26
27 extern void disable_irq (unsigned int);
28 extern void disable_irq_nosync (unsigned int);
29 extern void enable_irq (unsigned int);
30
31 #endif /* _ASM_IA64_IRQ_H */
32
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.