aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/entry-gic.S
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-12-28 08:27:10 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-01-07 10:42:56 +0900
commite74a9625f8dcf1a924345b24cec8476c52593df8 (patch)
tree2ccbb57d711d54efa6085d5c0de1adb48b60b165 /arch/arm/mach-shmobile/entry-gic.S
parent863b171952dba1a3ce9d345cfe4e93c9fdd42f49 (diff)
downloadkernel_samsung_smdk4412-e74a9625f8dcf1a924345b24cec8476c52593df8.zip
kernel_samsung_smdk4412-e74a9625f8dcf1a924345b24cec8476c52593df8.tar.gz
kernel_samsung_smdk4412-e74a9625f8dcf1a924345b24cec8476c52593df8.tar.bz2
ARM: mach-shmobile: Run-time IRQ handler for GIC
Break-out GIC specific IRQ demux code from the file entry-macro-intc.S and register during run-time. Covers sh73a0. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/entry-gic.S')
-rw-r--r--arch/arm/mach-shmobile/entry-gic.S20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/entry-gic.S b/arch/arm/mach-shmobile/entry-gic.S
new file mode 100644
index 0000000..6e4fa47
--- /dev/null
+++ b/arch/arm/mach-shmobile/entry-gic.S
@@ -0,0 +1,20 @@
+/*
+ * ARM Interrupt demux handler using GIC
+ *
+ * Copyright (C) 2010 Magnus Damm
+ * Copyright (C) 2010 Renesas Solutions Corp.
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#include <asm/entry-macro-multi.S>
+#include <asm/hardware/gic.h>
+#include <asm/hardware/entry-macro-gic.S>
+
+ .macro get_irqnr_preamble, base, tmp
+ ldr \base, =(0xf0000100)
+ .endm
+
+ arch_irq_handler shmobile_handle_irq_gic