]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ps3fb: atomic fixes
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 2 May 2007 12:48:32 +0000 (14:48 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 5 May 2007 00:59:08 +0000 (17:59 -0700)
commiteca28743b74736456bd75e0dabeb7d2df09fc03e
treec7e24af40e3bda568a43bf119cdaad80f539594c
parent1c0c8461191d6d74926397abe2aa5f7cc9fd5a67
ps3fb: atomic fixes

ps3fb: Use atomic_dec_if_positive() instead of bogus atomic_read()/atomic_dec()
combinations

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/ps3fb.c