提交 fe7b1099 编写于 作者: V Vineet Gupta

ARC: [intc-*]: confine NR_CPU_IRQS to intc code

And even this willl change in subsequent patches where we resort to
using run time info instead...
Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
上级 e98a7bf0
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#ifndef __ASM_ARC_IRQ_H #ifndef __ASM_ARC_IRQ_H
#define __ASM_ARC_IRQ_H #define __ASM_ARC_IRQ_H
#define NR_CPU_IRQS 32 /* number of interrupt lines of ARC770 CPU */
#define NR_IRQS 128 /* allow some CPU external IRQ handling */ #define NR_IRQS 128 /* allow some CPU external IRQ handling */
/* Platform Independent IRQs */ /* Platform Independent IRQs */
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#include <linux/irqchip.h> #include <linux/irqchip.h>
#include <asm/irq.h> #include <asm/irq.h>
#define NR_CPU_IRQS 32 /* number of irq lines coming in */
/* /*
* Early Hardware specific Interrupt setup * Early Hardware specific Interrupt setup
* -Called very early (start_kernel -> setup_arch -> setup_processor) * -Called very early (start_kernel -> setup_arch -> setup_processor)
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/irqchip.h> #include <linux/irqchip.h>
#include <asm/irq.h> #include <asm/irq.h>
#define NR_CPU_IRQS 32 /* number of irq lines coming in */
#define TIMER0_IRQ 3 /* Fixed by ISA */ #define TIMER0_IRQ 3 /* Fixed by ISA */
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册