gfx: pvr: debugfs: replace test_and_set_bit with spinlock+flag
authorImre Deak <imre.deak@intel.com>
Fri, 18 Nov 2011 14:38:04 +0000 (16:38 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:40 +0000 (12:28 +0300)
commitc8325edb87d1b23419d918b4b8677cd9356fcb6a
tree4890476cec667869893fd99ab6520dd150eb93b8
parent48957e8fb3ec02ed749594261f36327ba0be169d
gfx: pvr: debugfs: replace test_and_set_bit with spinlock+flag

The busy variable is not really a bitmap, using a spinlock with a busy
flag better expresses the purpose.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/pvr/pvr_debugfs.c