patch-2.1.34 linux/include/asm-sparc/bitops.h
Next file: linux/include/asm-sparc/checksum.h
Previous file: linux/include/asm-sparc/atomic.h
Back to the patch index
Back to the overall index
- Lines: 59
- Date:
Mon Apr 14 09:31:09 1997
- Orig file:
v2.1.33/linux/include/asm-sparc/bitops.h
- Orig date:
Sun Jan 26 02:07:47 1997
diff -u --recursive --new-file v2.1.33/linux/include/asm-sparc/bitops.h linux/include/asm-sparc/bitops.h
@@ -1,4 +1,4 @@
-/* $Id: bitops.h,v 1.43 1997/01/25 04:42:51 davem Exp $
+/* $Id: bitops.h,v 1.46 1997/04/13 06:38:24 davem Exp $
* bitops.h: Bit string operations on the Sparc.
*
* Copyright 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -99,7 +99,6 @@
{
register unsigned long mask asm("g2");
register unsigned long *ADDR asm("g1");
-
ADDR = ((unsigned long *) addr) + (nr >> 5);
mask = 1 << (nr & 31);
__asm__ __volatile__("
@@ -108,7 +107,7 @@
add %%o7, 8, %%o7
" : "=&r" (mask)
: "0" (mask), "r" (ADDR)
- : "g3", "g4", "g5", "g7");
+ : "g3", "g4", "g5", "g7", "cc");
return mask;
}
@@ -126,7 +125,7 @@
add %%o7, 8, %%o7
" : "=&r" (mask)
: "0" (mask), "r" (ADDR)
- : "g3", "g4", "g5", "g7");
+ : "g3", "g4", "g5", "g7", "cc");
return mask;
}
@@ -144,7 +143,7 @@
add %%o7, 8, %%o7
" : "=&r" (mask)
: "0" (mask), "r" (ADDR)
- : "g3", "g4", "g5", "g7");
+ : "g3", "g4", "g5", "g7", "cc");
return mask;
}
@@ -276,7 +275,7 @@
add %%o7, 8, %%o7
" : "=&r" (mask)
: "0" (mask), "r" (ADDR)
- : "g3", "g4", "g5", "g7");
+ : "g3", "g4", "g5", "g7", "cc");
return mask;
}
@@ -294,7 +293,7 @@
add %%o7, 8, %%o7
" : "=&r" (mask)
: "0" (mask), "r" (ADDR)
- : "g3", "g4", "g5", "g7");
+ : "g3", "g4", "g5", "g7", "cc");
return mask;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov