/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)3*/45#ifndef __ASM_ARC_IRQ_H6#define __ASM_ARC_IRQ_H78/*9* ARCv2 can support 240 interrupts in the core interrupts controllers and10* 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most11* configurations of boards.12* This doesn't affect ARCompact, but we change it to same value13*/14#define NR_IRQS 5121516/* Platform Independent IRQs */17#ifdef CONFIG_ISA_ARCV218#define IPI_IRQ 1919#define SOFTIRQ_IRQ 2120#define FIRST_EXT_IRQ 2421#endif2223#include <linux/interrupt.h>24#include <asm-generic/irq.h>2526extern void arc_init_IRQ(void);27extern void arch_do_IRQ(unsigned int, struct pt_regs *);2829#endif303132