diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-03-28 02:44:11 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-03-28 02:44:11 +0000 |
| commit | 35a472461a9878d41c8588aed731080efdc2ad24 (patch) | |
| tree | 25a923ff2b897d42481887e67d5873e645635465 /sys/kern/kern_fork.c | |
| parent | 6283b7d01b8d947b8a57d635e61b7c4e22816f93 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_fork.c')
| -rw-r--r-- | sys/kern/kern_fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 2f9b3aa79802..62f9c86edb34 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -713,11 +713,11 @@ fork_exit(callout, arg, frame) */ sched_lock.mtx_lock = (uintptr_t)p; sched_lock.mtx_recurse = 0; - mtx_unlock_spin(&sched_lock); /* * XXX: We really shouldn't have to do this. */ - enable_intr(); + mtx_intr_enable(&sched_lock); + mtx_unlock_spin(&sched_lock); #ifdef SMP if (PCPU_GET(switchtime.tv_sec) == 0) |
