Thread (7 messages) flat view 7 messages, 2 authors, 2011-09-26
DORMANTno replies

[PATCH 1/4] ARM i.MX avic: add handle_irq function

From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2011-09-26 12:25:20

On Mon, Sep 26, 2011 at 12:21:51PM +0100, Russell King - ARM Linux wrote:
On Mon, Sep 26, 2011 at 11:46:06AM +0200, Sascha Hauer wrote:
quoted
+void avic_handle_irq(struct pt_regs *);
+
+#define imx1_handle_irq avic_handle_irq
+#define imx21_handle_irq avic_handle_irq
+#define imx25_handle_irq avic_handle_irq
+#define imx27_handle_irq avic_handle_irq
+#define imx31_handle_irq avic_handle_irq
+#define imx35_handle_irq avic_handle_irq
Is there really something wrong in knowing (elsewhere) that mx1..mx35 all
use the avic irq handler?
No technical reason. I copied this from the pxa code and thought
this way a board implementer does not need to know the interrupt
controller type but only the SoC type. We can use avic_/tzic_
directly if you like.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help