Re: [PATCH v2 2/4] ARCv2: IRQ: Remove option for setting number of interrupts

2017-01-31 Thread Vineet Gupta
On 01/31/2017 03:45 AM, Yuriy Kolerov wrote: > When you set a value of ARC_NUMBER_OF_INTERRUPTS option > it affects only a size of the interrupts table but macros > for number of virtual interrupts (NR_IRQS) and for number > of hardware interrupts (NR_CPU_IRQS) remain unchanged. > Moreover usage of

[PATCH v2 2/4] ARCv2: IRQ: Remove option for setting number of interrupts

2017-01-31 Thread Yuriy Kolerov
When you set a value of ARC_NUMBER_OF_INTERRUPTS option it affects only a size of the interrupts table but macros for number of virtual interrupts (NR_IRQS) and for number of hardware interrupts (NR_CPU_IRQS) remain unchanged. Moreover usage of ARC_NUMBER_OF_INTERRUPTS is bad for portability since