patch-2.3.32 linux/include/asm-i386/spinlock.h
Next file: linux/include/asm-i386/string-486.h
Previous file: linux/include/asm-i386/resource.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Dec 14 00:55:03 1999
- Orig file:
v2.3.31/linux/include/asm-i386/spinlock.h
- Orig date:
Tue Dec 7 09:32:49 1999
diff -u --recursive --new-file v2.3.31/linux/include/asm-i386/spinlock.h linux/include/asm-i386/spinlock.h
@@ -88,6 +88,8 @@
#if SPINLOCK_DEBUG
if (lock->magic != SPINLOCK_MAGIC)
BUG();
+ if (!lock->lock)
+ BUG();
#endif
__asm__ __volatile__(
spin_unlock_string
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)