[PATCH] arm/imx: add missing include of asm/exception.h for avic.c

Sascha Hauer s.hauer at pengutronix.de
Fri Oct 21 14:07:17 EDT 2011


On Fri, Oct 21, 2011 at 06:38:32PM +0200, Arnd Bergmann wrote:
> On Friday 21 October 2011 09:22:19 Uwe Kleine-König wrote:
> > 
> > On Fri, Oct 21, 2011 at 10:33:00AM +0800, Shawn Guo wrote:
> > > It adds missing include of asm/exception.h for avic.c to fix the
> > > compile error below.
> > > 
> > >   arch/arm/plat-mxc/avic.c:154:39: error: expected ‘=’, ‘,’, ‘;’,
> > >   ‘asm’ or ‘__attribute__’ before ‘avic_handle_irq’
> > > 
> > > Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> > Arnd already posted a patch for that[1], but this one looks better.
> > 
> > Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> 
> Ok, thanks!
> 
> I found the same problem in plat-mxc/tzic.c as well now.
> 
> Which branch should we apply the patch to? The header file was
> introduced in rmk's smp branch, but the usage was introduced in
> the imx/multi-irq branch.
> 
> Should I merge the smp branch into imx/multi-irq and fix up the
> breakage in the merge commit?

Ok, this one is already found. Putting it into the merge commit sounds
good.

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 |



More information about the linux-arm-kernel mailing list