patch-2.4.22 linux-2.4.22/arch/ppc/kernel/bitops.c
Next file: linux-2.4.22/arch/ppc/kernel/btext.c
Previous file: linux-2.4.22/arch/ppc/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/kernel/bitops.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/kernel/bitops.c linux-2.4.22/arch/ppc/kernel/bitops.c
@@ -15,7 +15,7 @@
unsigned long old;
unsigned long mask = 1 << (nr & 0x1f);
unsigned long *p = ((unsigned long *)addr) + (nr >> 5);
-
+
__asm__ __volatile__(SMP_WMB "\n\
1: lwarx %0,0,%3 \n\
or %0,%0,%2 \n"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)