summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-22 16:56:53 +0000
committerjhb <jhb@FreeBSD.org>2001-02-22 16:56:53 +0000
commit5eea0dc69dfd1dcc9440839fc5c499a5e90e3cec (patch)
tree7cbbba9eec4bf616b87ca9fad2f7d5cda5d79d24 /sys/powerpc
parentd523baf7a30c4175ade6f6fb150ebbbbdb7643f3 (diff)
downloadFreeBSD-src-5eea0dc69dfd1dcc9440839fc5c499a5e90e3cec.zip
FreeBSD-src-5eea0dc69dfd1dcc9440839fc5c499a5e90e3cec.tar.gz
Rename switch_trampoline() to fork_trampoline() on the alpha and ia64.
Suggested by: dfr
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/aim/vm_machdep.c2
-rw-r--r--sys/powerpc/powerpc/vm_machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c
index e9e6540..e110d29 100644
--- a/sys/powerpc/aim/vm_machdep.c
+++ b/sys/powerpc/aim/vm_machdep.c
@@ -209,7 +209,7 @@ cpu_fork(p1, p2, flags)
(u_int64_t)exception_return; /* s1: ra */
up->u_pcb.pcb_context[2] = (u_long) p2; /* s2: a1 */
up->u_pcb.pcb_context[7] =
- (u_int64_t)switch_trampoline; /* ra: assembly magic */
+ (u_int64_t)fork_trampoline; /* ra: assembly magic */
}
}
diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c
index e9e6540..e110d29 100644
--- a/sys/powerpc/powerpc/vm_machdep.c
+++ b/sys/powerpc/powerpc/vm_machdep.c
@@ -209,7 +209,7 @@ cpu_fork(p1, p2, flags)
(u_int64_t)exception_return; /* s1: ra */
up->u_pcb.pcb_context[2] = (u_long) p2; /* s2: a1 */
up->u_pcb.pcb_context[7] =
- (u_int64_t)switch_trampoline; /* ra: assembly magic */
+ (u_int64_t)fork_trampoline; /* ra: assembly magic */
}
}
OpenPOWER on IntegriCloud