diff options
author | Barry Song <Baohua.Song@csr.com> | 2012-12-20 06:11:18 -0500 |
---|---|---|
committer | Barry Song <Barry.Song@csr.com> | 2013-01-22 06:39:14 -0500 |
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 d6890b6833c9..a4f91a6de55e 100644 --- a/arch/arm/mach-prima2/common.h +++ b/arch/arm/mach-prima2/common.h | |||
@@ -11,12 +11,14 @@ | |||
11 | 11 | ||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <asm/mach/time.h> | 13 | #include <asm/mach/time.h> |
14 | #include <asm/exception.h> | ||
14 | 15 | ||
15 | extern void sirfsoc_prima2_timer_init(void); | 16 | extern void sirfsoc_prima2_timer_init(void); |
16 | 17 | ||
17 | extern void __init sirfsoc_of_irq_init(void); | 18 | extern void __init sirfsoc_of_irq_init(void); |
18 | extern void __init sirfsoc_of_clk_init(void); | 19 | extern void __init sirfsoc_of_clk_init(void); |
19 | extern void sirfsoc_restart(char, const char *); | 20 | extern void sirfsoc_restart(char, const char *); |
21 | extern asmlinkage void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs); | ||
20 | 22 | ||
21 | #ifndef CONFIG_DEBUG_LL | 23 | #ifndef CONFIG_DEBUG_LL |
22 | static inline void sirfsoc_map_lluart(void) {} | 24 | static inline void sirfsoc_map_lluart(void) {} |