diff options
| author | Anurag Singh <anursing@codeaurora.org> | 2013-03-19 17:14:21 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 11:00:02 +0200 |
| commit | 43700f033d587c126ffe009918f8a6ed25e43b78 (patch) | |
| tree | 0039043c508a05e3770096901fbfd23675c19267 /include/linux/moduleparam.h | |
| parent | b5065b9e10b75f23eb782ffa19b65384d27045a6 (diff) | |
input: evdev: Move wake_lock_destroy call
Calling wake_lock_destroy from inside a spinlock
protected region (or, in general, from atomic context)
leads to a 'scheduling while atomic bug' because the
internal wakeup source deletion logic calls
synchronize_rcu, which can sleep. Moreover,
since the interal lists are already protected with
RCUs and spinlocks, putting the wake_lock_destroy
call in a spinlock is redundant.
Change-Id: I10a2239b664a5f43e54495f24fe588fb09282305
Signed-off-by: Anurag Singh <anursing@codeaurora.org>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions
