table of contents
other versions
- stretch 4.9.168-1
CLEAR_BIT(9) | Basic C Library Functions | CLEAR_BIT(9) |
NAME¶
clear_bit - Clears a bit in memorySYNOPSIS¶
void clear_bit(long nr, volatile unsigned long * addr);
ARGUMENTS¶
nrBit to clear
addr
Address to start counting from
DESCRIPTION¶
clear_bit is atomic and may not be reordered. However, it does not contain a memory barrier, so if it is used for locking purposes, you should call smp_mb__before_atomic and/or smp_mb__after_atomic in order to ensure changes are visible on other processors.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |