]> Pileus Git - ~andy/linux/commitdiff
arm: Move the set_handle_irq and handle_arch_irq declarations to asm/irq.h
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 18 Jan 2013 15:20:06 +0000 (15:20 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 26 Mar 2013 16:11:20 +0000 (16:11 +0000)
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>
arch/arm/include/asm/irq.h
arch/arm/include/asm/mach/irq.h
drivers/irqchip/irq-vic.c

index 35c21c375d81c19121495c66114ead04044f0fa3..53c15dec7af6aa09faee9b1851782f9244365e56 100644 (file)
@@ -30,6 +30,11 @@ extern void asm_do_IRQ(unsigned int, struct pt_regs *);
 void handle_IRQ(unsigned int, struct pt_regs *);
 void init_IRQ(void);
 
+#ifdef CONFIG_MULTI_IRQ_HANDLER
+extern void (*handle_arch_irq)(struct pt_regs *);
+extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
+#endif
+
 #endif
 
 #endif
index 18c883023339a39ad246e6de7a066106365e3078..749d5052fbb78cec1c596da11e11606133e09ea4 100644 (file)
@@ -20,11 +20,6 @@ struct seq_file;
 extern void init_FIQ(int);
 extern int show_fiq_list(struct seq_file *, int);
 
-#ifdef CONFIG_MULTI_IRQ_HANDLER
-extern void (*handle_arch_irq)(struct pt_regs *);
-extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
-#endif
-
 /*
  * This is for easy migration, but should be changed in the source
  */
index 3cf97aaebe4002381b32b1caba5cfb9ea363eecc..e38cb00ee784c151445e8d4a9620ecdb56d19e58 100644 (file)
@@ -33,7 +33,7 @@
 #include <linux/irqchip/arm-vic.h>
 
 #include <asm/exception.h>
-#include <asm/mach/irq.h>
+#include <asm/irq.h>
 
 #include "irqchip.h"