Add sanity check: Assert (gd_spinlocks_wr > 0) prior to decrementing it.
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 7 May 2009 20:45:34 +0000 (13:45 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 7 May 2009 20:45:34 +0000 (13:45 -0700)
commit4ccaa0da800fddf13dd0c43f302d9ad5f18f8f75
treead6c089f64e069a294cc25c520b918d4b9437a92
parentb3f547afb56daeabd589a379f361a47291a86360
Add sanity check: Assert (gd_spinlocks_wr > 0) prior to decrementing it.

Submitted-by: Antonio Huete Jimenez <ahuete.devel@gmail.com>
sys/sys/spinlock2.h