aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorBruno Prémont <bonbons@linux-vserver.org>2011-09-02 19:24:03 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:36:11 -0800
commit3f199a7d6f2c769131f1c0dda2eb9b30d1e21617 (patch)
tree33f26d2d68d5ce517d337d34f3a225d384da8998 /mm
parent627afd48f8d28f14271b9ccf3b1f5d3e77237e2c (diff)
fb: sh-mobile: Fix deadlock risk between lock_fb_info() and console_lock()
commit 4a47a0e09c504e3ce0ccdb405411aefc5b09deb8 upstream. Following on Herton's patch "fb: avoid possible deadlock caused by fb_set_suspend" which moves lock_fb_info() out of fb_set_suspend() to its callers, correct sh-mobile's locking around call to fb_set_suspend() and the same sort of deaklocks with console_lock() due to order of taking the lock. console_lock() must be taken while fb_info is already locked and fb_info must be locked while calling fb_set_suspend(). Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions