diff options
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r-- | kernel/irq/chip.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 4cf65f5c6a74..53e9dce6c657 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c | |||
@@ -505,10 +505,7 @@ handle_percpu_irq(unsigned int irq, struct irq_desc *desc, struct pt_regs *regs) | |||
505 | #endif /* CONFIG_SMP */ | 505 | #endif /* CONFIG_SMP */ |
506 | 506 | ||
507 | void | 507 | void |
508 | __set_irq_handler(unsigned int irq, | 508 | __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained) |
509 | void fastcall (*handle)(unsigned int, irq_desc_t *, | ||
510 | struct pt_regs *), | ||
511 | int is_chained) | ||
512 | { | 509 | { |
513 | struct irq_desc *desc; | 510 | struct irq_desc *desc; |
514 | unsigned long flags; | 511 | unsigned long flags; |
@@ -561,9 +558,7 @@ __set_irq_handler(unsigned int irq, | |||
561 | 558 | ||
562 | void | 559 | void |
563 | set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip, | 560 | set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip, |
564 | void fastcall (*handle)(unsigned int, | 561 | irq_flow_handler_t handle) |
565 | struct irq_desc *, | ||
566 | struct pt_regs *)) | ||
567 | { | 562 | { |
568 | set_irq_chip(irq, chip); | 563 | set_irq_chip(irq, chip); |
569 | __set_irq_handler(irq, handle, 0); | 564 | __set_irq_handler(irq, handle, 0); |
@@ -574,8 +569,7 @@ set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip, | |||
574 | * /proc/interrupts output: | 569 | * /proc/interrupts output: |
575 | */ | 570 | */ |
576 | const char * | 571 | const char * |
577 | handle_irq_name(void fastcall (*handle)(unsigned int, struct irq_desc *, | 572 | handle_irq_name(irq_flow_handler_t handle) |
578 | struct pt_regs *)) | ||
579 | { | 573 | { |
580 | if (handle == handle_level_irq) | 574 | if (handle == handle_level_irq) |
581 | return "level "; | 575 | return "level "; |