public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-orion5x: fix legacy get_irqnr_and_base
@ 2015-11-23  3:44 Nicolas Pitre
  2015-11-25 14:45 ` Jason Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Pitre @ 2015-11-23  3:44 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Nicolas Pitre <nico@linaro.org>

diff --git a/arch/arm/mach-orion5x/include/mach/entry-macro.S b/arch/arm/mach-orion5x/include/mach/entry-macro.S
index 79eb502a1e..73919a36b5 100644
--- a/arch/arm/mach-orion5x/include/mach/entry-macro.S
+++ b/arch/arm/mach-orion5x/include/mach/entry-macro.S
@@ -21,5 +21,5 @@
 	@ find cause bits that are unmasked
 	ands	\irqstat, \irqstat, \tmp	@ clear Z flag if any
 	clzne	\irqnr,	\irqstat		@ calc irqnr
-	rsbne	\irqnr, \irqnr, #31
+	rsbne	\irqnr, \irqnr, #32
 	.endm

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-11-25 15:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23  3:44 [PATCH] ARM: mach-orion5x: fix legacy get_irqnr_and_base Nicolas Pitre
2015-11-25 14:45 ` Jason Cooper
2015-11-25 14:54   ` Nicolas Pitre
2015-11-25 14:55     ` Jason Cooper
2015-11-25 15:38       ` Nicolas Pitre
2015-11-25 15:43         ` Andrew Lunn
2015-11-25 15:58           ` Nicolas Pitre
2015-11-25 15:45         ` Jason Cooper
2015-11-25 15:51           ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox