patch-1.3.14 linux/include/asm-i386/bitops.h
Next file: linux/include/linux/ax25.h
Previous file: linux/drivers/sound/soundvers.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Jul 31 12:04:06 1995
- Orig file:
v1.3.13/linux/include/asm-i386/bitops.h
- Orig date:
Tue Jun 27 14:11:44 1995
diff -u --recursive --new-file v1.3.13/linux/include/asm-i386/bitops.h linux/include/asm-i386/bitops.h
@@ -66,7 +66,7 @@
/*
* Find-bit routines..
*/
-extern inline int find_first_zero_bit(void * addr, unsigned size)
+extern __inline__ int find_first_zero_bit(void * addr, unsigned size)
{
int res;
@@ -90,7 +90,7 @@
return res;
}
-extern inline int find_next_zero_bit (void * addr, int size, int offset)
+extern __inline__ int find_next_zero_bit (void * addr, int size, int offset)
{
unsigned long * p = ((unsigned long *) addr) + (offset >> 5);
int set = 0, bit = offset & 31, res;
@@ -122,7 +122,7 @@
* ffz = Find First Zero in word. Undefined if no zero exists,
* so code should check against ~0UL first..
*/
-extern inline unsigned long ffz(unsigned long word)
+extern __inline__ unsigned long ffz(unsigned long word)
{
__asm__("bsfl %1,%0"
:"=r" (word)
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