diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-20 21:46:09 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-09-20 21:46:09 +0000 |
commit | 8702bf92c8445e752dc076c6c9b1eda09fe59021 (patch) | |
tree | f49d09d8c33f4fbf426b4bb08a17197b18c90eb3 /sys/arch | |
parent | 027cbb737274513f87fba819e5007df73bd6af58 (diff) |
calee -> callee
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/vm_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/vm_machdep.c | 4 |
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 */ |