xref: /OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-db1x00/irq.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * This file is subject to the terms and conditions of the GNU General Public
3*4882a593Smuzhiyun  * License.  See the file "COPYING" in the main directory of this archive
4*4882a593Smuzhiyun  * for more details.
5*4882a593Smuzhiyun  *
6*4882a593Smuzhiyun  * Copyright (C) 2003 by Ralf Baechle
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun #ifndef __ASM_MACH_GENERIC_IRQ_H
9*4882a593Smuzhiyun #define __ASM_MACH_GENERIC_IRQ_H
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #ifdef NR_IRQS
13*4882a593Smuzhiyun #undef NR_IRQS
14*4882a593Smuzhiyun #endif
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #ifndef MIPS_CPU_IRQ_BASE
17*4882a593Smuzhiyun #define MIPS_CPU_IRQ_BASE 0
18*4882a593Smuzhiyun #endif
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun /* 8 (MIPS) + 128 (au1300) + 16 (cpld) */
21*4882a593Smuzhiyun #define NR_IRQS 152
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun #endif /* __ASM_MACH_GENERIC_IRQ_H */
24