patch-1.3.37 linux/include/asm-alpha/bitops.h
Next file: linux/include/asm-alpha/io.h
Previous file: linux/include/asm-alpha/a.out.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Oct 28 16:00:49 1995
- Orig file:
v1.3.36/linux/include/asm-alpha/bitops.h
- Orig date:
Sun Sep 3 12:27:01 1995
diff -u --recursive --new-file v1.3.36/linux/include/asm-alpha/bitops.h linux/include/asm-alpha/bitops.h
@@ -77,7 +77,7 @@
return oldbit != 0;
}
-extern __inline__ unsigned long test_bit(int nr, void * addr)
+extern __inline__ unsigned long test_bit(int nr, const void * addr)
{
return 1UL & (((int *) addr)[nr >> 5] >> (nr & 31));
}
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