Fix panics which can occur when killing a threaded program. lwp_exit()
commitb0c652f0d8292c62ac4d229f75c14b43e8b69951
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 24 Apr 2008 08:53:02 +0000 (24 08:53 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 24 Apr 2008 08:53:02 +0000 (24 08:53 +0000)
tree0deade1507f4b6e4d96df62f91a1dc35b86251b4
parentd2d1f8cefa85b8a0e3c2299367173955deb37636
Fix panics which can occur when killing a threaded program.  lwp_exit()
was being called without the BGL from userret().  It needs the BGL.
sys/platform/pc32/i386/trap.c
sys/platform/vkernel/i386/trap.c