diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 17:32:42 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-01 17:32:42 -0400 |
commit | ae71c426ba4b5214b75bb0e624d73a4abcffbe57 (patch) | |
tree | 628115951b2d76efcd6950cf7e259e30ddd24847 | |
parent | 418ca1f0a0d3405c5f674d005363ab1ef850c367 (diff) |
[ARM] 3702/1: ARM: Convert ixp23xx 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>
-rw-r--r-- | arch/arm/mach-ixp23xx/core.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp23xx/ixdp2351.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-ixp23xx/core.c b/arch/arm/mach-ixp23xx/core.c index 82ad6ef90a38..7c218aecf443 100644 --- a/arch/arm/mach-ixp23xx/core.c +++ b/arch/arm/mach-ixp23xx/core.c | |||
@@ -271,7 +271,7 @@ static void pci_handler(unsigned int irq, struct irqdesc *desc, struct pt_regs * | |||
271 | } | 271 | } |
272 | 272 | ||
273 | int_desc = irq_desc + irqno; | 273 | int_desc = irq_desc + irqno; |
274 | int_desc->handle(irqno, int_desc, regs); | 274 | desc_handle_irq(irqno, int_desc, regs); |
275 | 275 | ||
276 | desc->chip->unmask(irq); | 276 | desc->chip->unmask(irq); |
277 | } | 277 | } |
diff --git a/arch/arm/mach-ixp23xx/ixdp2351.c b/arch/arm/mach-ixp23xx/ixdp2351.c index bba9d9f08691..37a32e6bcca2 100644 --- a/arch/arm/mach-ixp23xx/ixdp2351.c +++ b/arch/arm/mach-ixp23xx/ixdp2351.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/spinlock.h> | 19 | #include <linux/spinlock.h> |
20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/irq.h> | ||
22 | #include <linux/serial.h> | 23 | #include <linux/serial.h> |
23 | #include <linux/tty.h> | 24 | #include <linux/tty.h> |
24 | #include <linux/bitops.h> | 25 | #include <linux/bitops.h> |
@@ -36,7 +37,6 @@ | |||
36 | #include <asm/memory.h> | 37 | #include <asm/memory.h> |
37 | #include <asm/hardware.h> | 38 | #include <asm/hardware.h> |
38 | #include <asm/mach-types.h> | 39 | #include <asm/mach-types.h> |
39 | #include <asm/irq.h> | ||
40 | #include <asm/system.h> | 40 | #include <asm/system.h> |
41 | #include <asm/tlbflush.h> | 41 | #include <asm/tlbflush.h> |
42 | #include <asm/pgtable.h> | 42 | #include <asm/pgtable.h> |
@@ -74,7 +74,7 @@ static void ixdp2351_inta_handler(unsigned int irq, struct irqdesc *desc, struct | |||
74 | int cpld_irq = | 74 | int cpld_irq = |
75 | IXP23XX_MACH_IRQ(IXDP2351_INTA_IRQ_BASE + i); | 75 | IXP23XX_MACH_IRQ(IXDP2351_INTA_IRQ_BASE + i); |
76 | cpld_desc = irq_desc + cpld_irq; | 76 | cpld_desc = irq_desc + cpld_irq; |
77 | cpld_desc->handle(cpld_irq, cpld_desc, regs); | 77 | desc_handle_irq(cpld_irq, cpld_desc, regs); |
78 | } | 78 | } |
79 | } | 79 | } |
80 | 80 | ||
@@ -111,7 +111,7 @@ static void ixdp2351_intb_handler(unsigned int irq, struct irqdesc *desc, struct | |||
111 | int cpld_irq = | 111 | int cpld_irq = |
112 | IXP23XX_MACH_IRQ(IXDP2351_INTB_IRQ_BASE + i); | 112 | IXP23XX_MACH_IRQ(IXDP2351_INTB_IRQ_BASE + i); |
113 | cpld_desc = irq_desc + cpld_irq; | 113 | cpld_desc = irq_desc + cpld_irq; |
114 | cpld_desc->handle(cpld_irq, cpld_desc, regs); | 114 | desc_handle_irq(cpld_irq, cpld_desc, regs); |
115 | } | 115 | } |
116 | } | 116 | } |
117 | 117 | ||
@@ -158,8 +158,8 @@ void ixdp2351_init_irq(void) | |||
158 | } | 158 | } |
159 | } | 159 | } |
160 | 160 | ||
161 | set_irq_chained_handler(IRQ_IXP23XX_INTA, &ixdp2351_inta_handler); | 161 | set_irq_chained_handler(IRQ_IXP23XX_INTA, ixdp2351_inta_handler); |
162 | set_irq_chained_handler(IRQ_IXP23XX_INTB, &ixdp2351_intb_handler); | 162 | set_irq_chained_handler(IRQ_IXP23XX_INTB, ixdp2351_intb_handler); |
163 | } | 163 | } |
164 | 164 | ||
165 | /* | 165 | /* |