summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/irqs.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/irqs.h
parent664b4c172209f076866419a5a4162e4fc9631807 (diff)
downloadblackbird-obmc-linux-86155b35d173317518458c6f9c0a3ea8c5324bed.tar.gz
blackbird-obmc-linux-86155b35d173317518458c6f9c0a3ea8c5324bed.zip
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/irqs.h')
-rw-r--r--arch/arm/mach-shmobile/irqs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/irqs.h b/arch/arm/mach-shmobile/irqs.h
index 8e28223f1b3c..3070f6d887eb 100644
--- a/arch/arm/mach-shmobile/irqs.h
+++ b/arch/arm/mach-shmobile/irqs.h
@@ -1,18 +1,12 @@
#ifndef __SHMOBILE_IRQS_H
#define __SHMOBILE_IRQS_H
-#include <linux/sh_intc.h>
#include "include/mach/irqs.h"
/* GIC */
#define gic_spi(nr) ((nr) + 32)
#define gic_iid(nr) (nr) /* ICCIAR / interrupt ID */
-/* 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))
-
/* GPIO IRQ */
#define _GPIO_IRQ_BASE 2500
#define GPIO_IRQ_BASE(x) (_GPIO_IRQ_BASE + (32 * x))
OpenPOWER on IntegriCloud