patch-2.1.9 linux/include/asm-sparc/atops.h

Next file: linux/include/asm-sparc/auxio.h
Previous file: linux/include/asm-sparc/atomic.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/include/asm-sparc/atops.h linux/include/asm-sparc/atops.h
@@ -7,7 +7,7 @@
 
 #ifdef __SMP__
 
-extern __inline volatile unsigned char ldstub(volatile unsigned char *lock)
+extern __inline__ __volatile__ unsigned char ldstub(volatile unsigned char *lock)
 {
 	volatile unsigned char retval;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov