summaryrefslogtreecommitdiff
path: root/drivers/video/mmp
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-04-17 15:58:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-17 16:10:44 -0700
commit355f1ecbcc81efb6611290b772e7ae77ece4059c (patch)
tree38a8e2067efa8bf06baa63217020ee51680027f0 /drivers/video/mmp
parentfca83168aae6fa0c36a923ef99311587ad5b54f2 (diff)
thinkpad-acpi: kill hotkey_thread_mutex
hotkey_kthread() does try_to_freeze() under hotkey_thread_mutex. We can simply kill this mutex, hotkey_poll_stop_sync() does not need to serialize with hotkey_kthread(). When kthread_stop() returns the thread is already dead, it called do_exit()->complete_vfork_done(). Reported-by: Artem Savkov <artem.savkov@gmail.com> Reported-by: Maciej Rutecki <maciej.rutecki@gmail.com> Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Matthew Garrett <matthew.garrett@nebula.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Reviewed-by: Mandeep Singh Baines <msb@chromium.org> Cc: Aaron Lu <aaron.lu@intel.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/mmp')
0 files changed, 0 insertions, 0 deletions