xref: /linux/arch/hexagon/include/asm/irq.h (revision 2ac211bc423a0e62fe3ca3d78954de3174ae41f2)
1*2ac211bcSRichard Kuo /*
2*2ac211bcSRichard Kuo  * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
3*2ac211bcSRichard Kuo  *
4*2ac211bcSRichard Kuo  * This program is free software; you can redistribute it and/or modify
5*2ac211bcSRichard Kuo  * it under the terms of the GNU General Public License version 2 and
6*2ac211bcSRichard Kuo  * only version 2 as published by the Free Software Foundation.
7*2ac211bcSRichard Kuo  *
8*2ac211bcSRichard Kuo  * This program is distributed in the hope that it will be useful,
9*2ac211bcSRichard Kuo  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10*2ac211bcSRichard Kuo  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11*2ac211bcSRichard Kuo  * GNU General Public License for more details.
12*2ac211bcSRichard Kuo  *
13*2ac211bcSRichard Kuo  * You should have received a copy of the GNU General Public License
14*2ac211bcSRichard Kuo  * along with this program; if not, write to the Free Software
15*2ac211bcSRichard Kuo  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16*2ac211bcSRichard Kuo  * 02110-1301, USA.
17*2ac211bcSRichard Kuo  */
18*2ac211bcSRichard Kuo 
19*2ac211bcSRichard Kuo #ifndef _ASM_IRQ_H_
20*2ac211bcSRichard Kuo #define _ASM_IRQ_H_
21*2ac211bcSRichard Kuo 
22*2ac211bcSRichard Kuo /* Number of first-level interrupts associated with the CPU core. */
23*2ac211bcSRichard Kuo #define HEXAGON_CPUINTS 32
24*2ac211bcSRichard Kuo 
25*2ac211bcSRichard Kuo /*
26*2ac211bcSRichard Kuo  * Must define NR_IRQS before including <asm-generic/irq.h>
27*2ac211bcSRichard Kuo  * 64 == the two SIRC's, 176 == the two gpio's
28*2ac211bcSRichard Kuo  *
29*2ac211bcSRichard Kuo  * IRQ configuration is still in flux; defining this to a comfortably
30*2ac211bcSRichard Kuo  * large number.
31*2ac211bcSRichard Kuo  */
32*2ac211bcSRichard Kuo #define NR_IRQS 512
33*2ac211bcSRichard Kuo 
34*2ac211bcSRichard Kuo #include <asm-generic/irq.h>
35*2ac211bcSRichard Kuo 
36*2ac211bcSRichard Kuo #endif
37