patch-2.4.7 linux/include/asm-s390x/atomic.h

Next file: linux/include/asm-s390x/bitops.h
Previous file: linux/include/asm-s390/pci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/include/asm-s390x/atomic.h linux/include/asm-s390x/atomic.h
@@ -170,5 +170,9 @@
         atomic_set(where,(to));\
 }
 
-#endif                                 /* __ARCH_S390_ATOMIC __            */
+#define smp_mb__before_atomic_dec()	smp_mb()
+#define smp_mb__after_atomic_dec()	smp_mb()
+#define smp_mb__before_atomic_inc()	smp_mb()
+#define smp_mb__after_atomic_inc()	smp_mb()
 
+#endif                                 /* __ARCH_S390_ATOMIC __            */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)