patch-2.1.36 linux/include/asm-alpha/atomic.h
Next file: linux/include/asm-alpha/init.h
Previous file: linux/fs/vfat/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Apr 17 13:20:48 1997
- Orig file:
v2.1.35/linux/include/asm-alpha/atomic.h
- Orig date:
Wed Apr 16 14:15:00 1997
diff -u --recursive --new-file v2.1.35/linux/include/asm-alpha/atomic.h linux/include/asm-alpha/atomic.h
@@ -15,7 +15,7 @@
typedef struct { int counter; } atomic_t;
#endif
-#define ATOMIC_INIT { 0 }
+#define ATOMIC_INIT(i) { (i) }
#define atomic_read(v) ((v)->counter)
#define atomic_set(v,i) ((v)->counter = (i))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov