Skip to contentSkip to conversation

fix documentation in include_asm-i386_bitops.h

TRIVIAL Rusty Trivial Russell 1 participant 1 message Nov 8, 2002

lore
Share & tools
lore
#0 lore raw

From: "Vitezslav Samel" <[email protected]>

Whean I was searching for prototype for set_bit() I found IMHO wrong doc
entries in include/asm-i386/bitops.h. Please consider applying.

Cheers,
Vita

include/asm-i386/bitops.h renamed from include/asm-i386/bitops.h.orig +5 -5
@@ -89,7 +89,7 @@
 
 /**
  * __change_bit - Toggle a bit in memory
- * @nr: the bit to set
+ * @nr: the bit to change
  * @addr: the address to start counting from
  *
  * Unlike change_bit(), this function is non-atomic and may be reordered.
@@ -106,7 +106,7 @@
 
 /**
  * change_bit - Toggle a bit in memory
- * @nr: Bit to clear
+ * @nr: Bit to change
  * @addr: Address to start counting from
  *
  * change_bit() is atomic and may not be reordered.
@@ -162,7 +162,7 @@
 
 /**
  * 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
  *
  * This operation is atomic and cannot be reordered.  
@@ -181,7 +181,7 @@
 
 /**
  * __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
  *
  * This operation is non-atomic and can be reordered.  
@@ -213,7 +213,7 @@
 
 /**
  * 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
  *
  * This operation is atomic and cannot be reordered.  
Signature · 2 lines
  Don't blame me: the Monkey is driving
  File: "Vitezslav Samel" <[email protected]>: fix documentation in include_asm-i386_bitops.h