diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-27 08:44:47 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-04 06:43:38 -0400 |
commit | 22a49163e90dd7088f801dd54e25b04e1f337e9b (patch) | |
tree | 4b1e13b29959be2a03ae6892b469f1f11bb08823 /kernel/irq/handle.c | |
parent | 0eda58b7f3a30c9a13d83db1cfaab00e1c452055 (diff) |
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.c | 10 |
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) | |||
299 | ack_bad_irq(data->irq); | 299 | ack_bad_irq(data->irq); |
300 | } | 300 | } |
301 | 301 | ||
302 | static void compat_ack_bad(unsigned int irq) | ||
303 | { | ||
304 | struct irq_desc *desc = irq_to_desc(irq); | ||
305 | |||
306 | print_irq_desc(irq, desc); | ||
307 | ack_bad_irq(irq); | ||
308 | } | ||
309 | |||
310 | /* | 302 | /* |
311 | * NOP functions | 303 | * NOP functions |
312 | */ | 304 | */ |
@@ -338,7 +330,6 @@ struct irq_chip no_irq_chip = { | |||
338 | .shutdown = compat_noop, | 330 | .shutdown = compat_noop, |
339 | .enable = compat_noop, | 331 | .enable = compat_noop, |
340 | .disable = compat_noop, | 332 | .disable = compat_noop, |
341 | .ack = compat_ack_bad, | ||
342 | .end = compat_noop, | 333 | .end = compat_noop, |
343 | }; | 334 | }; |
344 | 335 | ||
@@ -359,7 +350,6 @@ struct irq_chip dummy_irq_chip = { | |||
359 | .shutdown = compat_noop, | 350 | .shutdown = compat_noop, |
360 | .enable = compat_noop, | 351 | .enable = compat_noop, |
361 | .disable = compat_noop, | 352 | .disable = compat_noop, |
362 | .ack = compat_noop, | ||
363 | .end = compat_noop, | 353 | .end = compat_noop, |
364 | }; | 354 | }; |
365 | 355 | ||