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

Arnd Bergmann arnd at arndb.de
Fri Oct 21 12:38:32 EDT 2011


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?

	Arnd



More information about the linux-arm-kernel mailing list