From: Krzysztof Helt Date: Sun, 19 Oct 2008 03:27:51 +0000 (-0700) Subject: fb: convert lock/unlock_kernel() into local fb mutex X-Git-Tag: v2.6.28-rc1~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e680aae4e53ab54cdbb0c29257dae0cbb158e1c;p=pandora-kernel.git fb: convert lock/unlock_kernel() into local fb mutex Change lock_kernel()/unlock_kernel() to local fb mutex. Each frame buffer instance has its own mutex. The one line try_to_load() function is unrolled to request_module() in two places for readability. [righi.andrea@gmail.com: fb: fix NULL pointer BUG dereference in fb_open()] Signed-off-by: Krzysztof Helt Signed-off-by: Andrea Righi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed