summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-10-20 16:10:13 +0000
committerjake <jake@FreeBSD.org>2001-10-20 16:10:13 +0000
commitbce44fcf8d62b56eea2a7199da921a3fd43c679a (patch)
tree8092e78877e6755b0e77de57409403be0c993cad /sys/sparc64
parentb8032ff6ca3c8fa0c2639f1a989d050276f3d66b (diff)
downloadFreeBSD-src-bce44fcf8d62b56eea2a7199da921a3fd43c679a.zip
FreeBSD-src-bce44fcf8d62b56eea2a7199da921a3fd43c679a.tar.gz
Remove hardcoded cwp value.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/vm_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/vm_machdep.c b/sys/sparc64/sparc64/vm_machdep.c
index 128eed3..a128158 100644
--- a/sys/sparc64/sparc64/vm_machdep.c
+++ b/sys/sparc64/sparc64/vm_machdep.c
@@ -124,7 +124,7 @@ cpu_fork(struct thread *td1, struct proc *p2, int flags)
fp->f_local[0] = (u_long)fork_return;
fp->f_local[1] = (u_long)td2;
fp->f_local[2] = (u_long)tf;
- pcb->pcb_cwp = 2;
+ pcb->pcb_cwp = 0;
pcb->pcb_fp = (u_long)fp - SPOFF;
pcb->pcb_pc = (u_long)fork_trampoline - 8;
OpenPOWER on IntegriCloud