From 89ae7820c1a454d61cd281925d300bf324cfb4a3 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 6 Nov 2001 18:41:11 +0000 Subject: 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. --- sys/arch/sparc64/include/cpu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/sparc64/include') diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h index 4e2a60e9ab0..04b9d78b71f 100644 --- a/sys/arch/sparc64/include/cpu.h +++ b/sys/arch/sparc64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.5 2001/09/04 15:19:16 jason Exp $ */ +/* $OpenBSD: cpu.h,v 1.6 2001/11/06 18:41:10 art Exp $ */ /* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */ /* @@ -292,7 +292,6 @@ void remrq __P((struct proc *)); /* trap.c */ void kill_user_windows __P((struct proc *)); int rwindow_save __P((struct proc *)); -void child_return __P((struct proc *)); /* amd7930intr.s */ void amd7930_trap __P((void)); /* cons.c */ -- cgit v1.2.3