Merge tag 'platform-drivers-x86-v4.11-2' of git://git.infradead.org/linux-platform...
[sfrench/cifs-2.6.git] / arch / arc / include / asm / irq.h
1 /*
2  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 #ifndef __ASM_ARC_IRQ_H
10 #define __ASM_ARC_IRQ_H
11
12 /*
13  * ARCv2 can support 240 interrupts in the core interrupts controllers and
14  * 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most
15  * configurations of boards.
16  * This doesnt affect ARCompact, but we change it to same value
17  */
18 #define NR_IRQS         512
19
20 /* Platform Independent IRQs */
21 #ifdef CONFIG_ISA_ARCV2
22 #define IPI_IRQ         19
23 #define SOFTIRQ_IRQ     21
24 #define FIRST_EXT_IRQ   24
25 #endif
26
27 #include <linux/interrupt.h>
28 #include <asm-generic/irq.h>
29
30 extern void arc_init_IRQ(void);
31
32 #endif