diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-09-04 14:45:00 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-04 14:45:00 -0400 |
commit | 664399e1fbdceb18da9c9c5534dedd62327c63e8 (patch) | |
tree | edcd0711c9dc15d1ca296b1bab0d85415781276e /arch/arm/mach-pxa/irq.c | |
parent | 7801907b8c4a49f8ec033d13a938751114a97a55 (diff) |
[ARM] Wrap calls to descriptor handlers
This is part of Thomas Gleixner's generic IRQ patch, which converts
ARM to use the generic IRQ subsystem. Here, we wrap calls to
desc->handler() in an inline function, desc_handle_irq(). This
reduces the size of Thomas' patch since the changes become more
localised.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/irq.c')
-rw-r--r-- | arch/arm/mach-pxa/irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index 6cf35f674464..539b596005fc 100644 --- a/arch/arm/mach-pxa/irq.c +++ b/arch/arm/mach-pxa/irq.c | |||
@@ -157,7 +157,7 @@ static void pxa_gpio_demux_handler(unsigned int irq, struct irqdesc *desc, | |||
157 | mask >>= 2; | 157 | mask >>= 2; |
158 | do { | 158 | do { |
159 | if (mask & 1) | 159 | if (mask & 1) |
160 | desc->handle(irq, desc, regs); | 160 | desc_handle_irq(irq, desc, regs); |
161 | irq++; | 161 | irq++; |
162 | desc++; | 162 | desc++; |
163 | mask >>= 1; | 163 | mask >>= 1; |
@@ -172,7 +172,7 @@ static void pxa_gpio_demux_handler(unsigned int irq, struct irqdesc *desc, | |||
172 | desc = irq_desc + irq; | 172 | desc = irq_desc + irq; |
173 | do { | 173 | do { |
174 | if (mask & 1) | 174 | if (mask & 1) |
175 | desc->handle(irq, desc, regs); | 175 | desc_handle_irq(irq, desc, regs); |
176 | irq++; | 176 | irq++; |
177 | desc++; | 177 | desc++; |
178 | mask >>= 1; | 178 | mask >>= 1; |
@@ -187,7 +187,7 @@ static void pxa_gpio_demux_handler(unsigned int irq, struct irqdesc *desc, | |||
187 | desc = irq_desc + irq; | 187 | desc = irq_desc + irq; |
188 | do { | 188 | do { |
189 | if (mask & 1) | 189 | if (mask & 1) |
190 | desc->handle(irq, desc, regs); | 190 | desc_handle_irq(irq, desc, regs); |
191 | irq++; | 191 | irq++; |
192 | desc++; | 192 | desc++; |
193 | mask >>= 1; | 193 | mask >>= 1; |
@@ -203,7 +203,7 @@ static void pxa_gpio_demux_handler(unsigned int irq, struct irqdesc *desc, | |||
203 | desc = irq_desc + irq; | 203 | desc = irq_desc + irq; |
204 | do { | 204 | do { |
205 | if (mask & 1) | 205 | if (mask & 1) |
206 | desc->handle(irq, desc, regs); | 206 | desc_handle_irq(irq, desc, regs); |
207 | irq++; | 207 | irq++; |
208 | desc++; | 208 | desc++; |
209 | mask >>= 1; | 209 | mask >>= 1; |