diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2022-10-25 15:15:39 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2022-10-25 15:15:39 +0000 |
commit | 00fcbe0595b1f97657ecc4cfa54e3904fc52f14c (patch) | |
tree | ba97e4231b549db9023b1b0438d3afc49eeebccc /sys/arch/powerpc | |
parent | c8ee399508f3e008f8e79cdfce32f6526269aaad (diff) |
Consistently use 'proc_trampoline' as the name of the trampoline
used by cpu_fork()
ok miod@ kettenis@ mpi@ deraadt@
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/vm_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/vm_machdep.c b/sys/arch/powerpc/powerpc/vm_machdep.c index 179ba76ba9c..de674db7815 100644 --- a/sys/arch/powerpc/powerpc/vm_machdep.c +++ b/sys/arch/powerpc/powerpc/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.53 2022/02/21 19:17:51 kettenis Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.54 2022/10/25 15:15:38 guenther Exp $ */ /* $NetBSD: vm_machdep.c,v 1.1 1996/09/30 16:34:57 ws Exp $ */ /* @@ -57,7 +57,7 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack, void *tcb, struct callframe *cf; struct switchframe *sf; caddr_t stktop1, stktop2; - extern void fork_trampoline(void); + extern void proc_trampoline(void); struct pcb *pcb = &p2->p_addr->u_pcb; struct cpu_info *ci = curcpu(); @@ -106,7 +106,7 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack, void *tcb, * There happens to be a callframe, too. */ cf = (struct callframe *)stktop2; - cf->lr = (int)fork_trampoline; + cf->lr = (int)proc_trampoline; /* * Below the trap frame, there is another call frame: |