diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-04-29 21:31:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 21:36:54 +0200 |
commit | 7663c1e2792a9662b23dec6e19bfcd3d55360b8f (patch) | |
tree | ff5f91fa9ac3603f242b8ae985d9cca611e3d56b /drivers/infiniband | |
parent | drivers/net/tehuti: use proper capability check for raw IO access (diff) | |
download | linux-7663c1e2792a9662b23dec6e19bfcd3d55360b8f.tar.xz linux-7663c1e2792a9662b23dec6e19bfcd3d55360b8f.zip |
Improve queue_is_locked()
spin_is_locked() doesn't work on UP without spinlock debugging. Make it
safer and just return 1 on UP, so we don't get false positives. The plan
is to kill this debug function during the -rc cycle.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions