ARM: orion5x: Fix legacy get_irqnr_and_base
authorNicolas Pitre <nicolas.pitre@linaro.org>
Mon, 23 Nov 2015 03:44:19 +0000 (22:44 -0500)
committerJason Cooper <jason@lakedaemon.net>
Wed, 25 Nov 2015 15:01:00 +0000 (15:01 +0000)
commit4d2ec7e206ae03a51dfbdedc120ce88d403ec926
tree676fdcdfb7689fb0f5c5b7af31001df508b54763
parentc1c90728efa49eab81ae816718d84116a22b790e
ARM: orion5x: Fix legacy get_irqnr_and_base

Commit 5be9fc23cd ("ARM: orion5x: fix legacy orion5x IRQ numbers") shifted
IRQ numbers by one but didn't update the get_irqnr_and_base macro
accordingly.  This macro is involved when CONFIG_MULTI_IRQ_HANDLER
is not defined.

[jac: 5d6bed2a9c went in to v4.2, but was backported to v3.18]

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Fixes: 5be9fc23cd ("ARM: orion5x: fix legacy orion5x IRQ numbers")
Cc: <stable@vger.kernel.org> # v3.18+
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-orion5x/include/mach/entry-macro.S