spin_is_locked() broken for uniprocessor?
galak at kernel.crashing.org
Wed Aug 19 08:09:56 EST 2009
I just want to validate that what I'm seeing (for UP, non-debug
spin_is_locked() is defined as:
for UP that should get us:
include/linux/spinlock_up.h:#define __raw_spin_is_locked(lock) ((void)
which implies to me that spin_is_locked() will always return false.
Is this expected behavior.
More information about the Linuxppc-dev