diff options
| author | Andrea Righi <[email protected]> | 2009-04-13 14:39:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-13 15:04:28 -0700 |
| commit | 513adb58685615b0b1d47a3f0d40f5352beff189 (patch) | |
| tree | 80afe08d17f24bbf3d5ad48d62df2e143d00ae95 /tools/perf/scripts/python | |
| parent | b52bb3712a64c404846f30300b339cfd01e316be (diff) | |
fbdev: fix info->lock deadlock in fbcon_event_notify()
fb_notifier_call_chain() is called with info->lock held, i.e. in
do_fb_ioctl() => FBIOPUT_VSCREENINFO => fb_set_var() and the some
notifier callbacks, like fbcon_event_notify(), try to re-acquire
info->lock again.
Remove the lock/unlock_fb_info() in all the framebuffer notifier
callbacks' and be sure to always call fb_notifier_call_chain() with
info->lock held.
Reported-by: Pavel Roskin <[email protected]>
Reported-by: Eric Miao <[email protected]>
Signed-off-by: Andrea Righi <[email protected]>
Cc: Stefan Richter <[email protected]>
Cc: Krzysztof Helt <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions