[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_irqIs 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 |