aboutsummaryrefslogtreecommitdiff
path: root/fs/yaffs2
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2012-09-05 18:22:13 -0400
committerJohn Stultz <john.stultz@linaro.org>2012-09-06 13:41:59 -0400
commit0ddaf741afc797cbb032168133d4e682829b1b82 (patch)
tree7769718979a10648061ba1f29a4d91626eb98101 /fs/yaffs2
parentd9c9138ed3c55b1f1ebfc6a3af092ba7ca7640fc (diff)
Jon Medhurst (Tixy) recently noticed a problem with the events_lock usage. One of the Android patches that uses wakeup_sources calls wakeup_source_add() with irqs disabled. However, the event_lock usage in wakeup_source_add() uses spin_lock_irq()/spin_unlock_irq(), which reenables interrupts. This results in lockdep warnings. The fix is to use spin_lock_irqsave()/spin_lock_irqrestore() instead for the events_lock. Full bug report here: https://bugs.launchpad.net/linaro-landing-team-arm/+bug/1037565 Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Android Team <kernel-team@android.com> Cc: Arve Hjønnevåg <arve@android.com> Reported-and-debugged-by: Jon Medhurst (Tixy) <tixy@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'fs/yaffs2')
0 files changed, 0 insertions, 0 deletions