diff options
author | Magnus Damm <damm@opensource.se> | 2010-12-28 08:27:10 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-07 01:42:56 (GMT) |
commit | e74a9625f8dcf1a924345b24cec8476c52593df8 (patch) | |
tree | 2ccbb57d711d54efa6085d5c0de1adb48b60b165 /arch/arm/mach-shmobile/entry-gic.S | |
parent | 863b171952dba1a3ce9d345cfe4e93c9fdd42f49 (diff) | |
download | linux-fsl-qoriq-e74a9625f8dcf1a924345b24cec8476c52593df8.tar.xz |
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 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 |