aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-05-23 10:44:17 -0400
committerBen Dooks <ben-linux@fluff.org>2010-05-23 11:26:53 -0400
commitb69a596afe1d46f24f97fe69f67370cdfa9d5329 (patch)
treef5be337b7b6df02a4a427383ab685da14ff41915 /arch
parent91dc74e479e1ea0bb8864694303e6fe5612b707c (diff)
ARM: S5PC100: Fix definition of IRQ_EINT()
Somewhere during the latest platform cleanups the IRQ_EINT definition got broken, so fix it by replacing it in <mach/irqs.h> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s5pc100/include/mach/irqs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/include/mach/irqs.h b/arch/arm/mach-s5pc100/include/mach/irqs.h
index 28aa551dc3a8..15066df3ced9 100644
--- a/arch/arm/mach-s5pc100/include/mach/irqs.h
+++ b/arch/arm/mach-s5pc100/include/mach/irqs.h
@@ -100,6 +100,9 @@
100#define S5P_EINT_BASE1 (S5P_IRQ_VIC0(0)) 100#define S5P_EINT_BASE1 (S5P_IRQ_VIC0(0))
101#define S5P_EINT_BASE2 (IRQ_VIC_END + 1) 101#define S5P_EINT_BASE2 (IRQ_VIC_END + 1)
102 102
103#define IRQ_EINT(x) ((x) < 16 ? S5P_IRQ_VIC0(x) : \
104 (S5P_EINT_BASE2 + (x) - 16))
105
103#define S3C_IRQ_GPIO_BASE (IRQ_EINT(31) + 1) 106#define S3C_IRQ_GPIO_BASE (IRQ_EINT(31) + 1)
104#define S3C_IRQ_GPIO(x) (S3C_IRQ_GPIO_BASE + (x)) 107#define S3C_IRQ_GPIO(x) (S3C_IRQ_GPIO_BASE + (x))
105 108