From: Dave Airlie Date: Fri, 25 Jan 2013 01:38:56 +0000 (+1000) Subject: fbcon: fix locking harder X-Git-Tag: v3.9-rc1~83^2~35^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=054430e773c9a1e26f38e30156eff02dedfffc17;p=pandora-kernel.git fbcon: fix locking harder Okay so Alan's patch handled the case where there was no registered fbcon, however the other path entered in set_con2fb_map pit. In there we called fbcon_takeover, but we also took the console lock in a couple of places. So push the console lock out to the callers of set_con2fb_map, this means fbmem and switcheroo needed to take the lock around the fb notifier entry points that lead to this. This should fix the efifb regression seen by Maarten. Tested-by: Maarten Lankhorst Tested-by: Lu Hua Signed-off-by: Dave Airlie --- Reading git-diff-tree failed