If you only are using the TSL_UNSET in the context that one already has the lock, then the lwarx/stwcx are unnecessary. What you have written, however, is not a general atomic clear macro. David ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/