patch-2.1.36 linux/include/asm-ppc/atomic.h
Next file: linux/include/asm-ppc/semaphore.h
Previous file: linux/include/asm-m68k/zorro.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Apr 17 13:20:51 1997
- Orig file:
v2.1.35/linux/include/asm-ppc/atomic.h
- Orig date:
Mon Apr 14 16:28:19 1997
diff -u --recursive --new-file v2.1.35/linux/include/asm-ppc/atomic.h linux/include/asm-ppc/atomic.h
@@ -6,7 +6,7 @@
#define _ASM_PPC_ATOMIC_H_
typedef struct { int counter; } atomic_t;
-#define ATOMIC_INIT { 0 }
+#define ATOMIC_INIT(i) { (i) }
/*
* Make sure gcc doesn't try to be clever and move things around
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov