aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/common.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2015-05-20 09:01:21 -0700
committerTony Lindgren <tony@atomide.com>2015-05-20 09:01:21 -0700
commitb694331cfb2ec3bc2225a0ea9fddbb7e24d81c37 (patch)
treea8acbec86f0f3369f3233f2d0b0b86915a001c7b /arch/arm/mach-omap1/common.h
parentARM: OMAP1: Switch to use generic irqchip in preparation for sparse IRQ (diff)
downloadlinux-dev-b694331cfb2ec3bc2225a0ea9fddbb7e24d81c37.tar.xz
linux-dev-b694331cfb2ec3bc2225a0ea9fddbb7e24d81c37.zip
ARM: omap1: Switch to use MULTI_IRQ
This allows us to get a bit further with SPARSE_IRQ and MULTIARCH support. Note that we now also rename omap_irq_flags to omap_l2_irq as that's the omap_irq_flags naming is confusing. It just contains the interrupt number for the l2 irq. Cc: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/common.h')
-rw-r--r--arch/arm/mach-omap1/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h
index 732f8ee2fcd2..6363e0cc41f1 100644
--- a/arch/arm/mach-omap1/common.h
+++ b/arch/arm/mach-omap1/common.h
@@ -30,6 +30,8 @@
#include <linux/i2c-omap.h>
#include <linux/reboot.h>
+#include <asm/exception.h>
+
#include <plat/i2c.h>
#include <mach/irqs.h>
@@ -73,6 +75,7 @@ static inline int omap_serial_wakeup_init(void)
void omap1_init_early(void);
void omap1_init_irq(void);
+void __exception_irq_entry omap1_handle_irq(struct pt_regs *regs);
void omap1_init_late(void);
void omap1_restart(enum reboot_mode, const char *);
@@ -91,8 +94,6 @@ static inline int __init omap_32k_timer_init(void)
}
#endif
-extern u32 omap_irq_flags;
-
#ifdef CONFIG_ARCH_OMAP16XX
extern int ocpi_enable(void);
#else