diff options
author | Barry Song <Baohua.Song@csr.com> | 2012-12-20 19:11:18 +0800 |
---|---|---|
committer | Barry Song <Barry.Song@csr.com> | 2013-01-22 19:39:14 +0800 |
commit | f2a94192d953990c5c928f52dd4122a67f93b980 (patch) | |
tree | 77bf983dc45303a627cc342939c5eee3d00087c3 /arch/arm/mach-prima2/common.h | |
parent | 598548facd3c55d1da230a2cc0e6026053b04594 (diff) |
ARM: PRIMA2: irq: make prima2 irq can work even we enable GIC for Marco
in Marco, we will use GIC. this patch prepares the handle_irq for prima2
to avoid the compiling errors since we want only one defconfig and zImage
for both prima2 and marco that means we will need handle_irq for both.
Signed-off-by: Baohua Song <Baohua.Song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/common.h')
-rw-r--r-- | arch/arm/mach-prima2/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/common.h b/arch/arm/mach-prima2/common.h index d6890b6833c..a4f91a6de55 100644 --- a/arch/arm/mach-prima2/common.h +++ b/arch/arm/mach-prima2/common.h @@ -11,12 +11,14 @@ #include <linux/init.h> #include <asm/mach/time.h> +#include <asm/exception.h> extern void sirfsoc_prima2_timer_init(void); extern void __init sirfsoc_of_irq_init(void); extern void __init sirfsoc_of_clk_init(void); extern void sirfsoc_restart(char, const char *); +extern asmlinkage void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs); #ifndef CONFIG_DEBUG_LL static inline void sirfsoc_map_lluart(void) {} |