summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include/cpu.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-06 18:41:11 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-06 18:41:11 +0000
commit89ae7820c1a454d61cd281925d300bf324cfb4a3 (patch)
tree322119c116dc2ae1a396e832aac803b47d2df136 /sys/arch/mac68k/include/cpu.h
parent1c0a1a534d87ced0c6089cb972b59491152bbdfa (diff)
Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument,
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD.
Diffstat (limited to 'sys/arch/mac68k/include/cpu.h')
-rw-r--r--sys/arch/mac68k/include/cpu.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/mac68k/include/cpu.h b/sys/arch/mac68k/include/cpu.h
index d2e4c7c6f74..807d64e7233 100644
--- a/sys/arch/mac68k/include/cpu.h
+++ b/sys/arch/mac68k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.21 2001/08/20 19:49:03 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.22 2001/11/06 18:41:09 art Exp $ */
/* $NetBSD: cpu.h,v 1.45 1997/02/10 22:13:40 scottr Exp $ */
/*
@@ -318,9 +318,6 @@ void savectx __P((struct pcb *));
void proc_trampoline __P((void));
void loadustp __P((int));
-/* trap.c */
-void child_return __P((struct proc *, struct frame));
-
/* vm_machdep.c */
void physaccess __P((caddr_t, caddr_t, register int, register int));
void physunaccess __P((caddr_t, register int));