kernel - Improve panic handling
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 1 Nov 2013 06:07:03 +0000 (23:07 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 1 Nov 2013 06:08:38 +0000 (23:08 -0700)
commit651250c61d323a9213b0edc3e56e4eaf7dbf4bfa
treeaa82744420841ce3ad1c33b6fe378d859102542f
parenta4dc31e022f821212e65d95b025bca4d77c73ca6
kernel - Improve panic handling

* Clear the gd_spinlocks counter when handling a panic.  This improves
  our chances of being able to obtain a crash dump
sys/kern/kern_shutdown.c