diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2007-05-30 14:36:20 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2007-05-30 14:36:20 +0000 |
| commit | 2e1822c16a337c9d204573576475d684ad889500 (patch) | |
| tree | 2f711f52ce1846fb02fff6d2354f747fff669e20 /sys/pc98 | |
| parent | 783a05dfd304f7484ad6861f968f4116a52eb596 (diff) | |
Notes
Diffstat (limited to 'sys/pc98')
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 28fff4e0069c..349ba22aa7a4 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -1171,7 +1171,8 @@ exec_setregs(td, entry, stack, ps_strings) mtx_lock_spin(&dt_lock); if (td->td_proc->p_md.md_ldt) user_ldt_free(td); - mtx_unlock_spin(&dt_lock); + else + mtx_unlock_spin(&dt_lock); bzero((char *)regs, sizeof(struct trapframe)); regs->tf_eip = entry; |
