From: Jens Axboe Date: Tue, 29 Apr 2008 19:31:27 +0000 (+0200) Subject: Improve queue_is_locked() X-Git-Tag: v2.6.26-rc1~359 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7663c1e2792a9662b23dec6e19bfcd3d55360b8f;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed