xref: /OK3568_Linux_fs/kernel/arch/hexagon/include/asm/irq.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
4*4882a593Smuzhiyun  */
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun #ifndef _ASM_IRQ_H_
7*4882a593Smuzhiyun #define _ASM_IRQ_H_
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun /* Number of first-level interrupts associated with the CPU core. */
10*4882a593Smuzhiyun #define HEXAGON_CPUINTS 32
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun /*
13*4882a593Smuzhiyun  * Must define NR_IRQS before including <asm-generic/irq.h>
14*4882a593Smuzhiyun  * 64 == the two SIRC's, 176 == the two gpio's
15*4882a593Smuzhiyun  *
16*4882a593Smuzhiyun  * IRQ configuration is still in flux; defining this to a comfortably
17*4882a593Smuzhiyun  * large number.
18*4882a593Smuzhiyun  */
19*4882a593Smuzhiyun #define NR_IRQS 512
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #include <asm-generic/irq.h>
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun #endif
24