diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-24 21:59:25 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-24 21:59:25 +0000 |
commit | af00dc8eef26d6f9d2b9d3cd92429a0db97e0b3c (patch) | |
tree | 1a65f27d40bfb7ed1d2518d205618e42ea64e92b /sys/kern | |
parent | 222035d6b123a02eab80f14e5165f2cf38dfda82 (diff) | |
download | FreeBSD-src-af00dc8eef26d6f9d2b9d3cd92429a0db97e0b3c.zip FreeBSD-src-af00dc8eef26d6f9d2b9d3cd92429a0db97e0b3c.tar.gz |
- Change fork_exit() to take a pointer to a trapframe as its 3rd argument
instead of a trapframe directly. (Requested by bde.)
- Convert the alpha switch_trampoline to call fork_exit() and use the MI
fork_return() instead of child_return().
- Axe child_return().
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 4785a70..8ad189e 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -645,7 +645,7 @@ void fork_exit(callout, arg, frame) void *callout(void *, struct trapframe *); void *arg; - struct trapframe frame; + struct trapframe *frame; { struct proc *p; @@ -666,7 +666,7 @@ fork_exit(callout, arg, frame) * have this call a non-return function to stay in kernel mode. * initproc has its own fork handler, but it does return. */ - (*callout)(arg, &frame); + (*callout)(arg, frame); /* * Check if a kernel thread misbehaved and returned from its main |