diff options
author | Magnus Damm <damm@opensource.se> | 2010-12-28 03:27:10 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-06 20:42:56 -0500 |
commit | e74a9625f8dcf1a924345b24cec8476c52593df8 (patch) | |
tree | 2ccbb57d711d54efa6085d5c0de1adb48b60b165 /arch/arm/mach-shmobile/entry-gic.S | |
parent | 863b171952dba1a3ce9d345cfe4e93c9fdd42f49 (diff) |
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.S | 20 |
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 000000000000..6e4fa4715199 --- /dev/null +++ b/arch/arm/mach-shmobile/entry-gic.S | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * ARM Interrupt demux handler using GIC | ||
3 | * | ||
4 | * Copyright (C) 2010 Magnus Damm | ||
5 | * Copyright (C) 2010 Renesas Solutions Corp. | ||
6 | * | ||
7 | * This file is licensed under the terms of the GNU General Public | ||
8 | * License version 2. This program is licensed "as is" without any | ||
9 | * warranty of any kind, whether express or implied. | ||
10 | */ | ||
11 | |||
12 | #include <asm/entry-macro-multi.S> | ||
13 | #include <asm/hardware/gic.h> | ||
14 | #include <asm/hardware/entry-macro-gic.S> | ||
15 | |||
16 | .macro get_irqnr_preamble, base, tmp | ||
17 | ldr \base, =(0xf0000100) | ||
18 | .endm | ||
19 | |||
20 | arch_irq_handler shmobile_handle_irq_gic | ||