aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/enclosure.c
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-01-03 22:31:24 +0000
committerDan Williams <dan.j.williams@intel.com>2011-01-04 19:16:10 -0800
commitbf072af461c166964fb110cfcafccd752fbb4c64 (patch)
treea30b526ad74c2885ae9f8d9f10f412f6d7ff0f59 /drivers/misc/enclosure.c
parent91aa5fadb831e7b6ea473a526a6b49c6dc4819ce (diff)
downloadkernel_samsung_espresso10-bf072af461c166964fb110cfcafccd752fbb4c64.zip
kernel_samsung_espresso10-bf072af461c166964fb110cfcafccd752fbb4c64.tar.gz
kernel_samsung_espresso10-bf072af461c166964fb110cfcafccd752fbb4c64.tar.bz2
ARM: PL08x: fix locking in tasklet
Tasklets are run from an interruptible context. The slave DMA functions can be called from within IRQ handlers. Taking the spinlock without disabling interrupts allows an interrupt handler to run, which may try to take the spinlock again, resulting in deadlock. Fix this by using the irqsave spinlocks. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/misc/enclosure.c')
0 files changed, 0 insertions, 0 deletions