summaryrefslogtreecommitdiff
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-27 16:44:47 +0400
committerThomas Gleixner <tglx@linutronix.de>2010-10-04 14:43:38 +0400
commit22a49163e90dd7088f801dd54e25b04e1f337e9b (patch)
tree4b1e13b29959be2a03ae6892b469f1f11bb08823 /kernel/irq/handle.c
parent0eda58b7f3a30c9a13d83db1cfaab00e1c452055 (diff)
downloadlinux-22a49163e90dd7088f801dd54e25b04e1f337e9b.tar.xz
genirq: Provide compat handling for chip->ack()
Wrap the old chip function ack() until the migration is complete and the old chip functions are removed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <20100927121842.142624725@linutronix.de> Reviewed-by: H. Peter Anvin <hpa@zytor.com> Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r--kernel/irq/handle.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index f334c8c59dd2..9ba7aece0e4d 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -299,14 +299,6 @@ static void ack_bad(struct irq_data *data)
ack_bad_irq(data->irq);
}
-static void compat_ack_bad(unsigned int irq)
-{
- struct irq_desc *desc = irq_to_desc(irq);
-
- print_irq_desc(irq, desc);
- ack_bad_irq(irq);
-}
-
/*
* NOP functions
*/
@@ -338,7 +330,6 @@ struct irq_chip no_irq_chip = {
.shutdown = compat_noop,
.enable = compat_noop,
.disable = compat_noop,
- .ack = compat_ack_bad,
.end = compat_noop,
};
@@ -359,7 +350,6 @@ struct irq_chip dummy_irq_chip = {
.shutdown = compat_noop,
.enable = compat_noop,
.disable = compat_noop,
- .ack = compat_noop,
.end = compat_noop,
};