summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-11-05 18:57:46 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-11-05 18:57:46 +0000
commitd702fa19e4d3b6ae4f2ed91e4508232d50500334 (patch)
tree42b020e18b95036166d51a02613c87139ea3ba75 /sys/arch
parent95a3273ca12f2daf3563a5d611bb9c071243022b (diff)
Fix a couple of comments.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sh/sh/vm_machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sh/sh/vm_machdep.c b/sys/arch/sh/sh/vm_machdep.c
index 77ddd8171b5..34632af76af 100644
--- a/sys/arch/sh/sh/vm_machdep.c
+++ b/sys/arch/sh/sh/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.2 2006/11/03 03:35:42 mickey Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.3 2006/11/05 18:57:45 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.53 2006/08/31 16:49:21 matt Exp $ */
/*-
@@ -203,8 +203,8 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack, size_t stacksize,
/* Setup switch frame */
sf = &pcb->pcb_sf;
- sf->sf_r11 = (int)arg; /* proc_trampoline hook func */
- sf->sf_r12 = (int)func; /* proc_trampoline hook func's arg */
+ sf->sf_r11 = (int)arg; /* proc_trampoline hook func's arg */
+ sf->sf_r12 = (int)func; /* proc_trampoline hook func */
sf->sf_r15 = spbase + USPACE - PAGE_SIZE;/* current stack pointer */
sf->sf_r7_bank = sf->sf_r15; /* stack top */
sf->sf_r6_bank = (vaddr_t)tf; /* current frame pointer */