I just want to validate that what I'm seeing (for UP, non-debug
features):
spin_is_locked() is defined as:
include/linux/spinlock.h:#define spin_is_locked(lock)
__raw_spin_is_locked(&(lock)->raw_lock)
for UP that should get us:
include/linux/spinlock_up.h:#define __raw_spin_is_locked(lock) ((void)
(lock), 0)
which implies to me that spin_is_locked() will always return false.
Is this expected behavior.
- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev