patch-2.3.19 linux/include/asm-i386/spinlock.h
Next file: linux/include/asm-i386/unistd.h
Previous file: linux/include/asm-i386/e820.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Oct 4 14:53:07 1999
- Orig file:
v2.3.18/linux/include/asm-i386/spinlock.h
- Orig date:
Fri Sep 10 23:57:36 1999
diff -u --recursive --new-file v2.3.18/linux/include/asm-i386/spinlock.h linux/include/asm-i386/spinlock.h
@@ -62,10 +62,9 @@
*/
typedef struct {
volatile unsigned int lock;
- unsigned long previous;
} rwlock_t;
-#define RW_LOCK_UNLOCKED (rwlock_t) { 0, 0 }
+#define RW_LOCK_UNLOCKED (rwlock_t) { 0 }
/*
* On x86, we implement read-write locks as a 32-bit counter
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)