patch-2.4.21 linux-2.4.21/arch/ppc/lib/locks.c
Next file: linux-2.4.21/arch/ppc/lib/strcase.c
Previous file: linux-2.4.21/arch/ppc/lib/div64.S
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
2003-06-13 07:51:31.000000000 -0700
- Orig file:
linux-2.4.20/arch/ppc/lib/locks.c
- Orig date:
2002-11-28 15:53:11.000000000 -0800
diff -urN linux-2.4.20/arch/ppc/lib/locks.c linux-2.4.21/arch/ppc/lib/locks.c
@@ -1,7 +1,4 @@
/*
- * BK Id: %F% %I% %G% %U% %#%
- */
-/*
* Locks for smp ppc
*
* Written by Cort Dougan (cort@cs.nmt.edu)
@@ -35,8 +32,9 @@
__asm__ __volatile__ ("\n\
1: lwarx %0,0,%1\n\
cmpwi 0,%0,0\n\
- bne 2f\n\
- stwcx. %2,0,%1\n\
+ bne 2f\n"
+ PPC405_ERR77(0,%1)
+" stwcx. %2,0,%1\n\
bne- 1b\n\
isync\n\
2:"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)