mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
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>
This commit is contained in:
parent
c5f756344c
commit
bc310dda41
5 changed files with 35 additions and 22 deletions
|
@ -327,8 +327,6 @@ struct irq_chip no_irq_chip = {
|
|||
.irq_disable = noop,
|
||||
.irq_ack = ack_bad,
|
||||
.startup = compat_noop_ret,
|
||||
.shutdown = compat_noop,
|
||||
.disable = compat_noop,
|
||||
.end = compat_noop,
|
||||
};
|
||||
|
||||
|
@ -346,8 +344,6 @@ struct irq_chip dummy_irq_chip = {
|
|||
.irq_mask = noop,
|
||||
.irq_unmask = noop,
|
||||
.startup = compat_noop_ret,
|
||||
.shutdown = compat_noop,
|
||||
.disable = compat_noop,
|
||||
.end = compat_noop,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue