patch-2.4.0-test12 linux/include/linux/spinlock.h
Next file: linux/include/linux/stallion.h
Previous file: linux/include/linux/smb_fs_sb.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Dec 11 16:26:39 2000
- Orig file:
v2.4.0-test11/linux/include/linux/spinlock.h
- Orig date:
Fri Sep 8 12:52:41 2000
diff -u --recursive --new-file v2.4.0-test11/linux/include/linux/spinlock.h linux/include/linux/spinlock.h
@@ -65,7 +65,7 @@
#elif (DEBUG_SPINLOCKS < 2)
typedef struct {
- volatile unsigned int lock;
+ volatile unsigned long lock;
} spinlock_t;
#define SPIN_LOCK_UNLOCKED (spinlock_t) { 0 }
@@ -80,7 +80,7 @@
#else /* (DEBUG_SPINLOCKS >= 2) */
typedef struct {
- volatile unsigned int lock;
+ volatile unsigned long lock;
volatile unsigned int babble;
const char *module;
} spinlock_t;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)