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

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)