Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arc / include / asm / irq.h
blob9cd79263acba824ff4e50ba5d71144bea4307b2f
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 */
6 #ifndef __ASM_ARC_IRQ_H
7 #define __ASM_ARC_IRQ_H
9 /*
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
15 #define NR_IRQS 512
17 /* Platform Independent IRQs */
18 #ifdef CONFIG_ISA_ARCV2
19 #define IPI_IRQ 19
20 #define SOFTIRQ_IRQ 21
21 #define FIRST_EXT_IRQ 24
22 #endif
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 *);
30 #endif