mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-15 06:14:42 +00:00
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>
27 KiB
27 KiB