1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6 #ifndef __ASM_ARC_IRQ_H
7 #define __ASM_ARC_IRQ_H
10 * ARCv2 can support 240 interrupts in the core interrupts controllers and
11 * 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most
12 * configurations of boards.
13 * This doesn't affect ARCompact, but we change it to same value
17 /* Platform Independent IRQs */
18 #ifdef CONFIG_ISA_ARCV2
20 #define SOFTIRQ_IRQ 21
21 #define FIRST_EXT_IRQ 24
24 #include <linux/interrupt.h>
25 #include <asm-generic/irq.h>
27 extern void arc_init_IRQ(void);
28 extern void arch_do_IRQ(unsigned int, struct pt_regs
*);