diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-14 14:16:43 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:23 -0500 |
commit | 091738a266fc74329ae186f22ff2b3f01319112d (patch) | |
tree | 75190438b74ad345753a2a8c239724995cee40ea /kernel/irq/chip.c | |
parent | a6967caf00ebbb2d4acdebcb72a25f2e9ba43fd2 (diff) |
genirq: Remove real old transition functions
These transition helpers are stale for years now. Remove them.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r-- | kernel/irq/chip.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 2b0f9192a830..c19c0b562c80 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c | |||
@@ -644,19 +644,11 @@ __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained, | |||
644 | return; | 644 | return; |
645 | } | 645 | } |
646 | 646 | ||
647 | if (!handle) | 647 | if (!handle) { |
648 | handle = handle_bad_irq; | 648 | handle = handle_bad_irq; |
649 | else if (desc->irq_data.chip == &no_irq_chip) { | 649 | } else { |
650 | printk(KERN_WARNING "Trying to install %sinterrupt handler " | 650 | if (WARN_ON(desc->irq_data.chip == &no_irq_chip)) |
651 | "for IRQ%d\n", is_chained ? "chained " : "", irq); | 651 | return; |
652 | /* | ||
653 | * Some ARM implementations install a handler for really dumb | ||
654 | * interrupt hardware without setting an irq_chip. This worked | ||
655 | * with the ARM no_irq_chip but the check in setup_irq would | ||
656 | * prevent us to setup the interrupt at all. Switch it to | ||
657 | * dummy_irq_chip for easy transition. | ||
658 | */ | ||
659 | desc->irq_data.chip = &dummy_irq_chip; | ||
660 | } | 652 | } |
661 | 653 | ||
662 | chip_bus_lock(desc); | 654 | chip_bus_lock(desc); |