diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-02-12 09:55:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 18:48:42 +0100 |
commit | c4f28e54d61278203c2bb2aea0679e0a738235d2 (patch) | |
tree | d92cf0718084a4e659444741443ee38afb847836 /include/asm-mips/mipsprom.h | |
parent | [PATCH] remove the broken FB_S3TRIO driver (diff) | |
download | linux-c4f28e54d61278203c2bb2aea0679e0a738235d2.tar.xz linux-c4f28e54d61278203c2bb2aea0679e0a738235d2.zip |
[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 <jirislaby@gmail.com>
Acked-by: Denis Oliver Kropp <dok@directfb.org>
Cc: James Simmons <jsimmons@infradead.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-mips/mipsprom.h')
0 files changed, 0 insertions, 0 deletions