patch-1.3.37 linux/include/asm-i386/bitops.h

Next file: linux/include/asm-mips/bitops.h
Previous file: linux/include/asm-alpha/unistd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.36/linux/include/asm-i386/bitops.h linux/include/asm-i386/bitops.h
@@ -64,7 +64,7 @@
  * This routine doesn't need to be atomic, but it's faster to code it
  * this way.
  */
-extern __inline__ int test_bit(int nr, void * addr)
+extern __inline__ int test_bit(int nr, const void * addr)
 {
 	int oldbit;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this