patch-2.1.97 linux/include/asm-sparc/bitops.h
Next file: linux/include/asm-sparc/btfixup.h
Previous file: linux/include/asm-sparc/asmmacro.h
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Tue Apr 14 17:44:23 1998
- Orig file:
v2.1.96/linux/include/asm-sparc/bitops.h
- Orig date:
Mon Jan 12 15:15:45 1998
diff -u --recursive --new-file v2.1.96/linux/include/asm-sparc/bitops.h linux/include/asm-sparc/bitops.h
@@ -1,4 +1,4 @@
-/* $Id: bitops.h,v 1.48 1997/12/18 02:44:06 ecd Exp $
+/* $Id: bitops.h,v 1.49 1998/02/23 01:46:44 rth Exp $
* bitops.h: Bit string operations on the Sparc.
*
* Copyright 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -60,7 +60,7 @@
return (unsigned long) ADDR;
}
-extern __inline__ unsigned long change_bit(unsigned long nr, void *addr)
+extern __inline__ void change_bit(unsigned long nr, void *addr)
{
int mask;
unsigned long *ADDR = (unsigned long *) addr;
@@ -76,8 +76,6 @@
: "=&r" (ADDR)
: "0" (ADDR), "r" (mask)
: "g2", "g3");
-
- return (unsigned long) ADDR;
}
#else /* __KERNEL__ */
@@ -136,7 +134,7 @@
return mask;
}
-extern __inline__ unsigned long clear_bit(unsigned long nr, __SMPVOL void *addr)
+extern __inline__ void clear_bit(unsigned long nr, __SMPVOL void *addr)
{
(void) test_and_clear_bit(nr, addr);
}
@@ -159,7 +157,7 @@
return mask;
}
-extern __inline__ unsigned long change_bit(unsigned long nr, __SMPVOL void *addr)
+extern __inline__ void change_bit(unsigned long nr, __SMPVOL void *addr)
{
(void) test_and_change_bit(nr, addr);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov