patch-2.1.36 linux/include/asm-sparc/atomic.h

Next file: linux/include/asm-sparc/errno.h
Previous file: linux/include/asm-ppc/semaphore.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/include/asm-sparc/atomic.h linux/include/asm-sparc/atomic.h
@@ -13,7 +13,7 @@
 typedef struct { int counter; } atomic_t;
 #endif
 
-#define ATOMIC_INIT	{ 0 }
+#define ATOMIC_INIT(i)	{ (i << 8) }
 
 #ifdef __KERNEL__
 #include <asm/system.h>

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov