mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
ARC: [Review] Multi-platform image #5: NR_IRQS defined by ARC core
For now this will suffice for all platforms, later exotic ones needs to get this from DeviceTree Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
e97ff121ae
commit
decae9d3e8
2 changed files with 2 additions and 6 deletions
|
@ -9,6 +9,8 @@
|
||||||
#ifndef __ASM_ARC_IRQ_H
|
#ifndef __ASM_ARC_IRQ_H
|
||||||
#define __ASM_ARC_IRQ_H
|
#define __ASM_ARC_IRQ_H
|
||||||
|
|
||||||
|
#define NR_IRQS 32
|
||||||
|
|
||||||
/* Platform Independent IRQs */
|
/* Platform Independent IRQs */
|
||||||
#define TIMER0_IRQ 3
|
#define TIMER0_IRQ 3
|
||||||
#define TIMER1_IRQ 4
|
#define TIMER1_IRQ 4
|
||||||
|
|
|
@ -12,12 +12,6 @@
|
||||||
#ifndef __PLAT_IRQ_H
|
#ifndef __PLAT_IRQ_H
|
||||||
#define __PLAT_IRQ_H
|
#define __PLAT_IRQ_H
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
|
||||||
#define NR_IRQS 32
|
|
||||||
#else
|
|
||||||
#define NR_IRQS 16
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define UART0_IRQ 5
|
#define UART0_IRQ 5
|
||||||
#define UART1_IRQ 10
|
#define UART1_IRQ 10
|
||||||
#define UART2_IRQ 11
|
#define UART2_IRQ 11
|
||||||
|
|
Loading…
Reference in a new issue