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/mvme88k/include/trap.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/mvme88k/include') diff --git a/sys/arch/mvme88k/include/trap.h b/sys/arch/mvme88k/include/trap.h index 1cd82a99237..0da0e54175d 100644 --- a/sys/arch/mvme88k/include/trap.h +++ b/sys/arch/mvme88k/include/trap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.h,v 1.11 2001/08/24 22:52:20 miod Exp $ */ +/* $OpenBSD: trap.h,v 1.12 2001/11/06 18:41:10 art Exp $ */ /* * Mach Operating System * Copyright (c) 1992 Carnegie Mellon University @@ -77,7 +77,6 @@ void panictrap(int type, struct m88100_saved_state *frame); void test_trap(struct m88100_saved_state *frame); void error_fault(struct m88100_saved_state *frame); void error_reset(struct m88100_saved_state *frame); -void child_return(struct proc *p); unsigned ss_get_value(struct proc *p, unsigned addr, int size); int ss_put_value(struct proc *p, unsigned addr, unsigned value, int size); unsigned ss_branch_taken(unsigned inst, unsigned pc, -- cgit v1.2.3