From: Dave Airlie Date: Fri, 25 Jan 2013 01:38:56 +0000 (+1000) Subject: fbcon: fix locking harder X-Git-Tag: v3.2.44~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9d286ac3cc682902cb4072232bea7ac9d49bf91;p=pandora-kernel.git fbcon: fix locking harder commit 054430e773c9a1e26f38e30156eff02dedfffc17 upstream. 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed