patch-2.4.15 linux/include/asm-s390x/atomic.h
Next file: linux/include/asm-s390x/fcntl.h
Previous file: linux/include/asm-s390/vtoc.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Nov 9 14:11:15 2001
- Orig file:
v2.4.14/linux/include/asm-s390x/atomic.h
- Orig date:
Sun Aug 12 13:28:00 2001
diff -u --recursive --new-file v2.4.14/linux/include/asm-s390x/atomic.h linux/include/asm-s390x/atomic.h
@@ -20,7 +20,7 @@
* S390 uses 'Compare And Swap' for atomicity in SMP enviroment
*/
-typedef struct { volatile int counter; } atomic_t __attribute__ ((aligned (4)));
+typedef struct { volatile int counter; } __attribute__ ((aligned (4))) atomic_t;
#define ATOMIC_INIT(i) { (i) }
#define atomic_eieio() __asm__ __volatile__ ("BCR 15,0")
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)