summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2003-04-10 17:35:44 +0000
committerJulian Elischer <julian@FreeBSD.org>2003-04-10 17:35:44 +0000
commit060563ec50bb91f09342fce9faf1878fdaafff0b (patch)
treea36a5c6a854637e4e73e7256b937922489d07ddb /sys/kern/kern_fork.c
parentfff890d0e8f5cb43b2704c0c5fc39cbbc8a32077 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 9a74d2516b42..4cec7e317ec6 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -767,7 +767,7 @@ fork_exit(callout, arg, frame)
}
td = curthread;
p = td->td_proc;
- td->td_kse->ke_oncpu = PCPU_GET(cpuid);
+ td->td_oncpu = PCPU_GET(cpuid);
p->p_state = PRS_NORMAL;
/*
* Finish setting up thread glue. We need to initialize