Name

test_and_set_bit_lock — Set a bit and return its old value for lock

Synopsis

bool test_and_set_bit_lock (long nr,
 volatile unsigned long * addr);
 

Arguments

long nr

Bit to set

volatile unsigned long * addr

Address to count from

Description

This is the same as test_and_set_bit on x86.