summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hppa/hppa/vm_machdep.c4
-rw-r--r--sys/arch/hppa64/hppa64/vm_machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c
index 097adab32a3..3d6154beebf 100644
--- a/sys/arch/hppa/hppa/vm_machdep.c
+++ b/sys/arch/hppa/hppa/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.74 2010/07/01 05:33:32 jsing Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.75 2011/09/20 21:46:08 miod Exp $ */
/*
* Copyright (c) 1999-2004 Michael Shalayeff
@@ -157,7 +157,7 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack, size_t stacksize,
*(register_t*)(osp + HPPA_FRAME_CRP) = (register_t)&switch_trampoline;
*(register_t*)(osp) = (osp - HPPA_FRAME_SIZE);
- sp = osp + HPPA_FRAME_SIZE + 20*4; /* frame + calee-save registers */
+ sp = osp + HPPA_FRAME_SIZE + 20*4; /* frame + callee-saved registers */
*HPPA_FRAME_CARG(0, sp) = (register_t)arg;
*HPPA_FRAME_CARG(1, sp) = KERNMODE(func);
pcbp->pcb_ksp = sp;
diff --git a/sys/arch/hppa64/hppa64/vm_machdep.c b/sys/arch/hppa64/hppa64/vm_machdep.c
index d4c1180ec20..3a0d61852e7 100644
--- a/sys/arch/hppa64/hppa64/vm_machdep.c
+++ b/sys/arch/hppa64/hppa64/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.15 2011/08/17 20:54:39 kettenis Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.16 2011/09/20 21:46:08 miod Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -153,7 +153,7 @@ cpu_fork(p1, p2, stack, stacksize, func, arg)
*(register_t*)(osp + HPPA_FRAME_RP) = switch_tramp_p;
*(register_t*)(osp) = (osp - HPPA_FRAME_SIZE);
- sp = osp + HPPA_FRAME_SIZE + 20*8; /* frame + calee-save registers */
+ sp = osp + HPPA_FRAME_SIZE + 20*8; /* frame + callee-saved registers */
*(register_t*)(sp - HPPA_FRAME_SIZE + 0) = (register_t)arg;
*(register_t*)(sp - HPPA_FRAME_SIZE + 8) = KERNMODE(func);
*(register_t*)(sp - HPPA_FRAME_SIZE + 16) = 0; /* cpl */