diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2013-01-18 10:20:06 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-03-26 12:11:20 -0400 |
commit | f36a3bb1a1b73a60f4df1d4c38c686cc173f50b3 (patch) | |
tree | fcf272d75ca5062bacaf46955c50990524741ff7 /arch/arm/include | |
parent | a937536b868b8369b98967929045f1df54234323 (diff) |
arm: Move the set_handle_irq and handle_arch_irq declarations to asm/irq.h
This patch prepares the removal of <asm/mach/irq.h> include in the
GIC and VIC irqchip drivers.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/irq.h | 5 | ||||
-rw-r--r-- | arch/arm/include/asm/mach/irq.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/include/asm/irq.h b/arch/arm/include/asm/irq.h index 35c21c375d81..53c15dec7af6 100644 --- a/arch/arm/include/asm/irq.h +++ b/arch/arm/include/asm/irq.h | |||
@@ -30,6 +30,11 @@ extern void asm_do_IRQ(unsigned int, struct pt_regs *); | |||
30 | void handle_IRQ(unsigned int, struct pt_regs *); | 30 | void handle_IRQ(unsigned int, struct pt_regs *); |
31 | void init_IRQ(void); | 31 | void init_IRQ(void); |
32 | 32 | ||
33 | #ifdef CONFIG_MULTI_IRQ_HANDLER | ||
34 | extern void (*handle_arch_irq)(struct pt_regs *); | ||
35 | extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); | ||
36 | #endif | ||
37 | |||
33 | #endif | 38 | #endif |
34 | 39 | ||
35 | #endif | 40 | #endif |
diff --git a/arch/arm/include/asm/mach/irq.h b/arch/arm/include/asm/mach/irq.h index 18c883023339..749d5052fbb7 100644 --- a/arch/arm/include/asm/mach/irq.h +++ b/arch/arm/include/asm/mach/irq.h | |||
@@ -20,11 +20,6 @@ struct seq_file; | |||
20 | extern void init_FIQ(int); | 20 | extern void init_FIQ(int); |
21 | extern int show_fiq_list(struct seq_file *, int); | 21 | extern int show_fiq_list(struct seq_file *, int); |
22 | 22 | ||
23 | #ifdef CONFIG_MULTI_IRQ_HANDLER | ||
24 | extern void (*handle_arch_irq)(struct pt_regs *); | ||
25 | extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); | ||
26 | #endif | ||
27 | |||
28 | /* | 23 | /* |
29 | * This is for easy migration, but should be changed in the source | 24 | * This is for easy migration, but should be changed in the source |
30 | */ | 25 | */ |