git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6203554
)
Improve queue_is_locked()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 29 Apr 2008 19:31:27 +0000
(21:31 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 29 Apr 2008 19:36:54 +0000
(12:36 -0700)
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>
No differences found