Set a bit and return its old value for lock
int test_and_set_bit_lock(long nr, volatile unsigned long * addr);
nr
Bit to set
addr
Address to count from
This is the same as test_and_set_bit on x86.