]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/blackfin/include/asm/irq.h
291a9223adca9e143bb84b49a87d11e048c3fcae
[linux-2.6-omap-h63xx.git] / arch / blackfin / include / asm / irq.h
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file COPYING in the main directory of this archive
4  * for more details.
5  *
6  * Changed by HuTao Apr18, 2003
7  *
8  * Copyright was missing when I got the code so took from MIPS arch ...MaTed---
9  * Copyright (C) 1994 by Waldorf GMBH, written by Ralf Baechle
10  * Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001 by Ralf Baechle
11  *
12  * Adapted for BlackFin (ADI) by Ted Ma <mated@sympatico.ca>
13  * Copyright (c) 2002 Arcturus Networks Inc. (www.arcturusnetworks.com)
14  * Copyright (c) 2002 Lineo, Inc. <mattw@lineo.com>
15  */
16
17 #ifndef _BFIN_IRQ_H_
18 #define _BFIN_IRQ_H_
19
20 /* SYS_IRQS and NR_IRQS are defined in <mach-bf5xx/irq.h>*/
21 #include <mach/irq.h>
22 #include <asm/ptrace.h>
23
24 static __inline__ int irq_canonicalize(int irq)
25 {
26         return irq;
27 }
28
29 #define SIC_SYSIRQ(irq) (irq - (IRQ_CORETMR + 1))
30
31 #endif                          /* _BFIN_IRQ_H_ */