diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-27 08:45:02 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-04 06:43:43 -0400 |
commit | bc310dda41be6439364c8f3b9fe7c9d743d22b1c (patch) | |
tree | 86a8b4da3d9e81aad104b61023858813454b0f35 /kernel/irq/handle.c | |
parent | c5f756344c390f629243b4a28c2bd198fdfd7ee9 (diff) |
genirq: Provide compat handling for chip->disable()/shutdown()
Wrap the old chip functions disable() and shutdown() 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.532070631@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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index ac8c749dfee5..60e25c46eb55 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -327,8 +327,6 @@ struct irq_chip no_irq_chip = { | |||
327 | .irq_disable = noop, | 327 | .irq_disable = noop, |
328 | .irq_ack = ack_bad, | 328 | .irq_ack = ack_bad, |
329 | .startup = compat_noop_ret, | 329 | .startup = compat_noop_ret, |
330 | .shutdown = compat_noop, | ||
331 | .disable = compat_noop, | ||
332 | .end = compat_noop, | 330 | .end = compat_noop, |
333 | }; | 331 | }; |
334 | 332 | ||
@@ -346,8 +344,6 @@ struct irq_chip dummy_irq_chip = { | |||
346 | .irq_mask = noop, | 344 | .irq_mask = noop, |
347 | .irq_unmask = noop, | 345 | .irq_unmask = noop, |
348 | .startup = compat_noop_ret, | 346 | .startup = compat_noop_ret, |
349 | .shutdown = compat_noop, | ||
350 | .disable = compat_noop, | ||
351 | .end = compat_noop, | 347 | .end = compat_noop, |
352 | }; | 348 | }; |
353 | 349 | ||