From: Jiri Slaby Date: Mon, 12 Feb 2007 08:55:11 +0000 (-0800) Subject: [PATCH] Video: fb, add true ref_count atomicity X-Git-Tag: v2.6.21-rc1~274^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4f28e54d61278203c2bb2aea0679e0a738235d2;p=pandora-kernel.git [PATCH] Video: fb, add true ref_count atomicity Some of fb drivers uses atomic_t in bad manner, since there are still some race-prone gaps. Use mutexes to protect open/close code sections with ref_count testing and finally use simple uint. Signed-off-by: Jiri Slaby Acked-by: Denis Oliver Kropp Cc: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed