xref: /linux/arch/hexagon/include/asm/irq.h (revision 06d07429858317ded2db7986113a9e0129cd599b)
108dbd0f8SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
22ac211bcSRichard Kuo /*
3e1858b2aSRichard Kuo  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
42ac211bcSRichard Kuo  */
52ac211bcSRichard Kuo 
62ac211bcSRichard Kuo #ifndef _ASM_IRQ_H_
72ac211bcSRichard Kuo #define _ASM_IRQ_H_
82ac211bcSRichard Kuo 
92ac211bcSRichard Kuo /* Number of first-level interrupts associated with the CPU core. */
102ac211bcSRichard Kuo #define HEXAGON_CPUINTS 32
112ac211bcSRichard Kuo 
122ac211bcSRichard Kuo /*
132ac211bcSRichard Kuo  * Must define NR_IRQS before including <asm-generic/irq.h>
142ac211bcSRichard Kuo  * 64 == the two SIRC's, 176 == the two gpio's
152ac211bcSRichard Kuo  *
162ac211bcSRichard Kuo  * IRQ configuration is still in flux; defining this to a comfortably
172ac211bcSRichard Kuo  * large number.
182ac211bcSRichard Kuo  */
192ac211bcSRichard Kuo #define NR_IRQS 512
202ac211bcSRichard Kuo 
212ac211bcSRichard Kuo #include <asm-generic/irq.h>
222ac211bcSRichard Kuo 
23*2212acdaSNathan Chancellor struct pt_regs;
24*2212acdaSNathan Chancellor void arch_do_IRQ(struct pt_regs *);
25*2212acdaSNathan Chancellor 
262ac211bcSRichard Kuo #endif
27