projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91dc74e
)
ARM: S5PC100: Fix definition of IRQ_EINT()
author
Ben Dooks
<ben-linux@fluff.org>
Sun, 23 May 2010 14:44:17 +0000
(15:44 +0100)
committer
Ben Dooks
<ben-linux@fluff.org>
Sun, 23 May 2010 15:26:53 +0000
(16:26 +0100)
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>
arch/arm/mach-s5pc100/include/mach/irqs.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-s5pc100/include/mach/irqs.h
b/arch/arm/mach-s5pc100/include/mach/irqs.h
index 28aa551dc3a8345a4cfe298e3091327a133ba0d8..15066df3ced9cd855316a16414ebfdb9403a60b9 100644
(file)
--- a/
arch/arm/mach-s5pc100/include/mach/irqs.h
+++ b/
arch/arm/mach-s5pc100/include/mach/irqs.h
@@
-100,6
+100,9
@@
#define S5P_EINT_BASE1 (S5P_IRQ_VIC0(0))
#define S5P_EINT_BASE2 (IRQ_VIC_END + 1)
+#define IRQ_EINT(x) ((x) < 16 ? S5P_IRQ_VIC0(x) : \
+ (S5P_EINT_BASE2 + (x) - 16))
+
#define S3C_IRQ_GPIO_BASE (IRQ_EINT(31) + 1)
#define S3C_IRQ_GPIO(x) (S3C_IRQ_GPIO_BASE + (x))