Fix panics which can occur when killing a threaded program. lwp_exit()
commite207d1fd07ca18d4affe7646499e8ef7c8b7757b
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)
tree4206168f51d64fbe57d3bac53158ed3fa951944d
parentfcadbd98748a23e0c3a4cc254c4ccb64fdbd816e
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