xref: /OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-netlogic/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) 2011 Netlogic Microsystems.
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun #ifndef __ASM_NETLOGIC_IRQ_H
9*4882a593Smuzhiyun #define __ASM_NETLOGIC_IRQ_H
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #include <asm/mach-netlogic/multi-node.h>
12*4882a593Smuzhiyun #define NLM_IRQS_PER_NODE	1024
13*4882a593Smuzhiyun #define NR_IRQS			(NLM_IRQS_PER_NODE * NLM_NR_NODES)
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #define MIPS_CPU_IRQ_BASE	0
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #endif /* __ASM_NETLOGIC_IRQ_H */
18