[PATCH 2/3] ARM: imx: add missing include of linux/ftrace.h

Arnd Bergmann arnd at arndb.de
Sat Oct 8 11:16:26 EDT 2011


Using the __exception_irq_entry symbol requires including
this header file:

arch/arm/plat-mxc/avic.c:154:39: error: expected '=', ',', ';', 'asm'
		or '__attribute__' before 'avic_handle_irq'

Signed-off-by: Arnd Bergmann <arnd at arndb.de>
---
 arch/arm/plat-mxc/avic.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-mxc/avic.c b/arch/arm/plat-mxc/avic.c
index 8875fb4..9bab263 100644
--- a/arch/arm/plat-mxc/avic.c
+++ b/arch/arm/plat-mxc/avic.c
@@ -20,6 +20,7 @@
 #include <linux/module.h>
 #include <linux/irq.h>
 #include <linux/io.h>
+#include <linux/ftrace.h>
 #include <mach/common.h>
 #include <asm/mach/irq.h>
 #include <mach/hardware.h>
-- 
1.7.5.4





More information about the linux-arm-kernel mailing list