summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/intc.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-08-20 15:39:23 +0200
committerSimon Horman <horms+renesas@verge.net.au>2014-08-22 12:23:32 +0900
commit86155b35d173317518458c6f9c0a3ea8c5324bed (patch)
tree9c377370f1fe8d9457a9138de1c074dbf5a07804 /arch/arm/mach-shmobile/intc.h
parent664b4c172209f076866419a5a4162e4fc9631807 (diff)
ARM: shmobile: Move legacy INTC definitions from irqs.h to intc.h
Move all definitions for legacy INTC from the common "irqs.h" to the INTC-specific "intc.h". Include "intc.h" in sh7372/sh73a0 CPU and board files where needed. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Magnus Damm <damm+renesas@opensource.se> [horms+renesas@verge.net.au: omitted whitespace change] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/intc.h')
-rw-r--r--arch/arm/mach-shmobile/intc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/intc.h b/arch/arm/mach-shmobile/intc.h
index a5603c76cfe0..40b2ad4ca5b4 100644
--- a/arch/arm/mach-shmobile/intc.h
+++ b/arch/arm/mach-shmobile/intc.h
@@ -287,4 +287,9 @@ static struct intc_desc p ## _desc __initdata = { \
p ## _sense_registers, NULL), \
}
+/* INTCS */
+#define INTCS_VECT_BASE 0x3400
+#define INTCS_VECT(n, vect) INTC_VECT((n), INTCS_VECT_BASE + (vect))
+#define intcs_evt2irq(evt) evt2irq(INTCS_VECT_BASE + (evt))
+
#endif /* __ASM_MACH_INTC_H */