aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-14 14:16:43 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:23 -0500
commit091738a266fc74329ae186f22ff2b3f01319112d (patch)
tree75190438b74ad345753a2a8c239724995cee40ea /kernel/irq/manage.c
parenta6967caf00ebbb2d4acdebcb72a25f2e9ba43fd2 (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/manage.c')
-rw-r--r--kernel/irq/manage.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index ea6add6036b..99395a24f43 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -540,17 +540,6 @@ int can_request_irq(unsigned int irq, unsigned long irqflags)
540 return !action; 540 return !action;
541} 541}
542 542
543void compat_irq_chip_set_default_handler(struct irq_desc *desc)
544{
545 /*
546 * If the architecture still has not overriden
547 * the flow handler then zap the default. This
548 * should catch incorrect flow-type setting.
549 */
550 if (desc->handle_irq == &handle_bad_irq)
551 desc->handle_irq = NULL;
552}
553
554int __irq_set_trigger(struct irq_desc *desc, unsigned int irq, 543int __irq_set_trigger(struct irq_desc *desc, unsigned int irq,
555 unsigned long flags) 544 unsigned long flags)
556{ 545{
@@ -912,8 +901,7 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new)
912 901
913 if (ret) 902 if (ret)
914 goto out_mask; 903 goto out_mask;
915 } else 904 }
916 compat_irq_chip_set_default_handler(desc);
917 905
918 desc->istate &= ~(IRQS_AUTODETECT | IRQS_SPURIOUS_DISABLED | \ 906 desc->istate &= ~(IRQS_AUTODETECT | IRQS_SPURIOUS_DISABLED | \
919 IRQS_INPROGRESS | IRQS_ONESHOT | \ 907 IRQS_INPROGRESS | IRQS_ONESHOT | \