Re: [PATCH v4 07/37] ARM: davinci: wrap HW interrupt numbers with a macro

2019-02-17 Thread David Lechner
On 2/14/19 8:52 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Once we select SPARSE_IRQ, the interrupt numbers defined in mach/irqs.h will only signify the hardware interrupt offsets, not the interrupt numbers seen by linux. Introduce a wrapper macro that translates the hwirq number

[PATCH v4 07/37] ARM: davinci: wrap HW interrupt numbers with a macro

2019-02-14 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Once we select SPARSE_IRQ, the interrupt numbers defined in mach/irqs.h will only signify the hardware interrupt offsets, not the interrupt numbers seen by linux. Introduce a wrapper macro that translates the hwirq number to virtual numbers. For now it's just a dummy. Us