diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 17:32:39 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-01 17:32:39 -0400 |
commit | 544b46de259c8be67c042bcdfaf81f0bc6fa2e6d (patch) | |
tree | 051583ef7e10dad59030ca56e86a4d5a54d1a27e /arch | |
parent | 119c641c9e665718f080ccde3422dd97259e0fc8 (diff) |
[ARM] 3699/1: ARM: Convert s3c2410 to generic irq handling
Patch from Thomas Gleixner
From: Thomas Gleixner <tglx@linutronix.de>
Fixup the conversion to generic irq subsystem.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2410/bast-irq.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/time.c | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c2410/bast-irq.c b/arch/arm/mach-s3c2410/bast-irq.c index fbbeb0553006..def4441d2442 100644 --- a/arch/arm/mach-s3c2410/bast-irq.c +++ b/arch/arm/mach-s3c2410/bast-irq.c | |||
@@ -136,8 +136,8 @@ bast_irq_pc104_demux(unsigned int irq, | |||
136 | for (i = 0; stat != 0; i++, stat >>= 1) { | 136 | for (i = 0; stat != 0; i++, stat >>= 1) { |
137 | if (stat & 1) { | 137 | if (stat & 1) { |
138 | irqno = bast_pc104_irqs[i]; | 138 | irqno = bast_pc104_irqs[i]; |
139 | 139 | desc = irq_desc + irqno; | |
140 | desc_handle_irq(irqno, irq_desc + irqno, regs); | 140 | desc_handle_irq(irqno, desc, regs); |
141 | } | 141 | } |
142 | } | 142 | } |
143 | } | 143 | } |
@@ -156,7 +156,7 @@ static __init int bast_irq_init(void) | |||
156 | 156 | ||
157 | set_irq_chained_handler(IRQ_ISA, bast_irq_pc104_demux); | 157 | set_irq_chained_handler(IRQ_ISA, bast_irq_pc104_demux); |
158 | 158 | ||
159 | /* reigster our IRQs */ | 159 | /* register our IRQs */ |
160 | 160 | ||
161 | for (i = 0; i < 4; i++) { | 161 | for (i = 0; i < 4; i++) { |
162 | unsigned int irqno = bast_pc104_irqs[i]; | 162 | unsigned int irqno = bast_pc104_irqs[i]; |
diff --git a/arch/arm/mach-s3c2410/time.c b/arch/arm/mach-s3c2410/time.c index 47387c5b9723..c153c49c75dc 100644 --- a/arch/arm/mach-s3c2410/time.c +++ b/arch/arm/mach-s3c2410/time.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/sched.h> | 22 | #include <linux/sched.h> |
23 | #include <linux/init.h> | 23 | #include <linux/init.h> |
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/irq.h> | ||
25 | #include <linux/err.h> | 26 | #include <linux/err.h> |
26 | #include <linux/clk.h> | 27 | #include <linux/clk.h> |
27 | 28 | ||