arm/imx: add missing include of asm/exception.h for avic.c
Subsystems (3)
PATCH 1/1 arm/imx: add missing include of asm/exception.h for avic.c
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?
---
Arnd,
I hit this error when building imx6q on your for-next branch.
arch/arm/plat-mxc/avic.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-mxc/avic.c +1 -0
@@ -21,6 +21,7 @@#include <linux/irq.h> #include <linux/io.h> #include <mach/common.h> +#include <asm/exception.h> #include <asm/mach/irq.h> #include <mach/hardware.h>
Signature · 1 line
1.7.4.1
PATCH 1/1 arm/imx: add missing include of asm/exception.h for avic.c
Hello,
Quoted 7 lines · Shawn Guo
It adds missing include of
asm/exception.hforavic.cto 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 <[email protected]>
Arnd already posted a patch for that[1], but this one looks better.
Best regards
Uwe
[1] http://mid.gmane.org/1928841.IC5oQhqc6l at wuerfel
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |
PATCH 1/1 arm/imx: add missing include of asm/exception.h for avic.c
Quoted 5 lines · On Friday 21 October 2011 09:22:19 Uwe Kleine-K?nig wrote:
Quoted 3 lines · Shawn Guo
It adds missing include of
asm/exception.hforavic.cto fix the compile error below.
Quoted 7 lines
Quoted 4 lines
arch/arm/plat-mxc/avic.c:154:39: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?avic_handle_irq?Signed-off-by Shawn Guo <[email protected]>Arnd already posted a patch for that[1], but this one looks better.
Acked-by Uwe Kleine-K?nig <[email protected]>
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
Sascha Hauer
maintainerPATCH 1/1 arm/imx: add missing include of asm/exception.h for avic.c
Quoted 16 lines · Arnd Bergmann
Quoted 5 lines · On Friday 21 October 2011 09:22:19 Uwe Kleine-K?nig wrote:
Quoted 3 lines · Shawn Guo
It adds missing include of
asm/exception.hforavic.cto fix the compile error below.Quoted 7 lines
Quoted 4 lines
arch/arm/plat-mxc/avic.c:154:39: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?avic_handle_irq?Signed-off-by Shawn Guo <[email protected]>Arnd already posted a patch for that[1], but this one looks better.
Acked-by Uwe Kleine-K?nig <[email protected]>Ok, thanks!
Quoted 8 lines
I found the same problem in
plat-mxc/tzic.cas 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
Signature · 4 lines
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 |