patch-2.1.40 linux/include/asm-m68k/atomic.h
Next file: linux/include/asm-m68k/bitops.h
Previous file: linux/include/asm-i386/keyboard.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun May 18 17:10:38 1997
- Orig file:
v2.1.39/linux/include/asm-m68k/atomic.h
- Orig date:
Wed Apr 23 19:01:27 1997
diff -u --recursive --new-file v2.1.39/linux/include/asm-m68k/atomic.h linux/include/asm-m68k/atomic.h
@@ -11,7 +11,7 @@
*/
typedef struct { int counter; } atomic_t;
-#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