Commit a2b3477a authored by Vitezslav Samel's avatar Vitezslav Samel Committed by Christoph Hellwig

[PATCH] fix documentation in include_asm-i386_bitops.h

 When I was searching for prototype for set_bit() I found IMHO wrong doc
entries in include/asm-i386/bitops.h.
parent 451dd094
...@@ -89,7 +89,7 @@ static __inline__ void __clear_bit(int nr, volatile unsigned long * addr) ...@@ -89,7 +89,7 @@ static __inline__ void __clear_bit(int nr, volatile unsigned long * addr)
/** /**
* __change_bit - Toggle a bit in memory * __change_bit - Toggle a bit in memory
* @nr: the bit to set * @nr: the bit to change
* @addr: the address to start counting from * @addr: the address to start counting from
* *
* Unlike change_bit(), this function is non-atomic and may be reordered. * Unlike change_bit(), this function is non-atomic and may be reordered.
...@@ -106,7 +106,7 @@ static __inline__ void __change_bit(int nr, volatile unsigned long * addr) ...@@ -106,7 +106,7 @@ static __inline__ void __change_bit(int nr, volatile unsigned long * addr)
/** /**
* change_bit - Toggle a bit in memory * change_bit - Toggle a bit in memory
* @nr: Bit to clear * @nr: Bit to change
* @addr: Address to start counting from * @addr: Address to start counting from
* *
* change_bit() is atomic and may not be reordered. * change_bit() is atomic and may not be reordered.
...@@ -162,7 +162,7 @@ static __inline__ int __test_and_set_bit(int nr, volatile unsigned long * addr) ...@@ -162,7 +162,7 @@ static __inline__ int __test_and_set_bit(int nr, volatile unsigned long * addr)
/** /**
* test_and_clear_bit - Clear a bit and return its old value * test_and_clear_bit - Clear a bit and return its old value
* @nr: Bit to set * @nr: Bit to clear
* @addr: Address to count from * @addr: Address to count from
* *
* This operation is atomic and cannot be reordered. * This operation is atomic and cannot be reordered.
...@@ -181,7 +181,7 @@ static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) ...@@ -181,7 +181,7 @@ static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr)
/** /**
* __test_and_clear_bit - Clear a bit and return its old value * __test_and_clear_bit - Clear a bit and return its old value
* @nr: Bit to set * @nr: Bit to clear
* @addr: Address to count from * @addr: Address to count from
* *
* This operation is non-atomic and can be reordered. * This operation is non-atomic and can be reordered.
...@@ -213,7 +213,7 @@ static __inline__ int __test_and_change_bit(int nr, volatile unsigned long *addr ...@@ -213,7 +213,7 @@ static __inline__ int __test_and_change_bit(int nr, volatile unsigned long *addr
/** /**
* test_and_change_bit - Change a bit and return its new value * test_and_change_bit - Change a bit and return its new value
* @nr: Bit to set * @nr: Bit to change
* @addr: Address to count from * @addr: Address to count from
* *
* This operation is atomic and cannot be reordered. * This operation is atomic and cannot be reordered.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment