aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-s3c2410
diff options
context:
space:
mode:
authorDavide Rizzo <davide@elpa.it>2008-03-19 13:51:48 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-03-20 15:59:32 +0000
commita0d1d04ea810481dd0b8790712086a77bc665b8a (patch)
tree5963e7e1064912117d6c173d06ef7ccc6e581f69 /include/asm-arm/arch-s3c2410
parentee4cd588a3d9f81b5b13b76a498c3118a61f1dd2 (diff)
downloadkernel_samsung_smdk4412-a0d1d04ea810481dd0b8790712086a77bc665b8a.zip
kernel_samsung_smdk4412-a0d1d04ea810481dd0b8790712086a77bc665b8a.tar.gz
kernel_samsung_smdk4412-a0d1d04ea810481dd0b8790712086a77bc665b8a.tar.bz2
[ARM] 4872/1: Replaces buggy macro in S3C2410 irq include
This is a bug correction for a macro that generated wrong results. Nobody used it in official kernel tree, my driver did. Signed-off-by: Davide Rizzo <davide@elpa.it> Acked-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-s3c2410')
-rw-r--r--include/asm-arm/arch-s3c2410/irqs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-s3c2410/irqs.h b/include/asm-arm/arch-s3c2410/irqs.h
index d858b3e..f5435d8 100644
--- a/include/asm-arm/arch-s3c2410/irqs.h
+++ b/include/asm-arm/arch-s3c2410/irqs.h
@@ -85,7 +85,7 @@
#define IRQ_EINT23 S3C2410_IRQ(51)
-#define IRQ_EINT(x) S3C2410_IRQ((x >= 4) ? (IRQ_EINT4 + (x) - 4) : (S3C2410_IRQ(0) + (x)))
+#define IRQ_EINT(x) (((x) >= 4) ? (IRQ_EINT4 + (x) - 4) : (IRQ_EINT0 + (x)))
#define IRQ_LCD_FIFO S3C2410_IRQ(52)
#define IRQ_LCD_FRAME S3C2410_IRQ(53)