Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
0004  */
0005 
0006 #ifndef __ASM_ARC_IRQ_H
0007 #define __ASM_ARC_IRQ_H
0008 
0009 /*
0010  * ARCv2 can support 240 interrupts in the core interrupts controllers and
0011  * 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most
0012  * configurations of boards.
0013  * This doesnt affect ARCompact, but we change it to same value
0014  */
0015 #define NR_IRQS     512
0016 
0017 /* Platform Independent IRQs */
0018 #ifdef CONFIG_ISA_ARCV2
0019 #define IPI_IRQ     19
0020 #define SOFTIRQ_IRQ 21
0021 #define FIRST_EXT_IRQ   24
0022 #endif
0023 
0024 #include <linux/interrupt.h>
0025 #include <asm-generic/irq.h>
0026 
0027 extern void arc_init_IRQ(void);
0028 
0029 #endif