diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-06 13:23:31 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-18 04:01:06 -0400 |
commit | dabf64bcc58cc182f389a9ca602f2c5cb9ba8aef (patch) | |
tree | 39baa3391e3538b582f03a197c3d0bec21bd22f8 /arch/blackfin/mach-common | |
parent | ff43a67f67b47fc7e4e108ab1966072dc36b65c0 (diff) |
Blackfin: convert error irq_chip to new functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index a233c3ec8824..79ee08d89815 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
@@ -334,25 +334,25 @@ static void bfin_handle_irq(unsigned irq) | |||
334 | #ifdef BF537_GENERIC_ERROR_INT_DEMUX | 334 | #ifdef BF537_GENERIC_ERROR_INT_DEMUX |
335 | static int error_int_mask; | 335 | static int error_int_mask; |
336 | 336 | ||
337 | static void bfin_generic_error_mask_irq(unsigned int irq) | 337 | static void bfin_generic_error_mask_irq(struct irq_data *d) |
338 | { | 338 | { |
339 | error_int_mask &= ~(1L << (irq - IRQ_PPI_ERROR)); | 339 | error_int_mask &= ~(1L << (d->irq - IRQ_PPI_ERROR)); |
340 | if (!error_int_mask) | 340 | if (!error_int_mask) |
341 | bfin_internal_mask_irq(IRQ_GENERIC_ERROR); | 341 | bfin_internal_mask_irq(IRQ_GENERIC_ERROR); |
342 | } | 342 | } |
343 | 343 | ||
344 | static void bfin_generic_error_unmask_irq(unsigned int irq) | 344 | static void bfin_generic_error_unmask_irq(struct irq_data *d) |
345 | { | 345 | { |
346 | bfin_internal_unmask_irq(IRQ_GENERIC_ERROR); | 346 | bfin_internal_unmask_irq(IRQ_GENERIC_ERROR); |
347 | error_int_mask |= 1L << (irq - IRQ_PPI_ERROR); | 347 | error_int_mask |= 1L << (d->irq - IRQ_PPI_ERROR); |
348 | } | 348 | } |
349 | 349 | ||
350 | static struct irq_chip bfin_generic_error_irqchip = { | 350 | static struct irq_chip bfin_generic_error_irqchip = { |
351 | .name = "ERROR", | 351 | .name = "ERROR", |
352 | .irq_ack = bfin_ack_noop, | 352 | .irq_ack = bfin_ack_noop, |
353 | .mask_ack = bfin_generic_error_mask_irq, | 353 | .irq_mask_ack = bfin_generic_error_mask_irq, |
354 | .mask = bfin_generic_error_mask_irq, | 354 | .irq_mask = bfin_generic_error_mask_irq, |
355 | .unmask = bfin_generic_error_unmask_irq, | 355 | .irq_unmask = bfin_generic_error_unmask_irq, |
356 | }; | 356 | }; |
357 | 357 | ||
358 | static void bfin_demux_error_irq(unsigned int int_err_irq, | 358 | static void bfin_demux_error_irq(unsigned int int_err_irq, |