Skip to content

Commit b69a596

Browse files
author
Ben Dooks
committed
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>
1 parent 91dc74e commit b69a596

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • arch/arm/mach-s5pc100/include/mach

‎arch/arm/mach-s5pc100/include/mach/irqs.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@
100100
#define S5P_EINT_BASE1 (S5P_IRQ_VIC0(0))
101101
#define S5P_EINT_BASE2 (IRQ_VIC_END + 1)
102102

103+
#define IRQ_EINT(x) ((x) < 16 ? S5P_IRQ_VIC0(x) : \
104+
(S5P_EINT_BASE2 + (x) - 16))
105+
103106
#define S3C_IRQ_GPIO_BASE (IRQ_EINT(31) + 1)
104107
#define S3C_IRQ_GPIO(x) (S3C_IRQ_GPIO_BASE + (x))
105108

0 commit comments

Comments
 (0)