summaryrefslogtreecommitdiffstats
path: root/kernel/srcu.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-02-18 18:25:17 +0100
committerThomas Gleixner <tglx@linutronix.de>2008-02-19 10:43:58 +0100
commit89d694b9dbe769ca1004e01db0ca43964806a611 (patch)
treeb8fd51348034a4b09547ea0137d4ac467f6987fa /kernel/srcu.c
parent188fd89d539d899bfca2bc83534e5508e0161139 (diff)
downloadlinux-89d694b9dbe769ca1004e01db0ca43964806a611.tar.bz2
genirq: do not leave interupts enabled on free_irq
The default_disable() function was changed in commit: 76d2160147f43f982dfe881404cfde9fd0a9da21 genirq: do not mask interrupts by default It removed the mask function in favour of the default delayed interrupt disabling. Unfortunately this also broke the shutdown in free_irq() when the last handler is removed from the interrupt for those architectures which rely on the default implementations. Now we can end up with a enabled interrupt line after the last handler was removed, which can result in spurious interrupts. Fix this by adding a default_shutdown function, which is only installed, when the irqchip implementation does provide neither a shutdown nor a disable function. [@stable: affected versions: .21 - .24 ] Pointed-out-by: Michael Hennerich <Michael.Hennerich@analog.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@elte.hu> Cc: stable@kernel.org Tested-by: Michael Hennerich <Michael.Hennerich@analog.com>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions