diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-03 20:27:27 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-03 20:27:27 +0000 |
commit | 2a7b178f496dd79dc257736f8ef9174fa882aa15 (patch) | |
tree | 5deb00b57c97b1ffbce616ffb069b95159850861 /sys | |
parent | 190470e4ae678a60f1533d5c77cf25b48ee6b8f8 (diff) |
vm_map.pmap should always be used, not only for uvm.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/powerpc/powerpc/vm_machdep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/powerpc/powerpc/vm_machdep.c b/sys/arch/powerpc/powerpc/vm_machdep.c index c770338a703..6fb4ed7058f 100644 --- a/sys/arch/powerpc/powerpc/vm_machdep.c +++ b/sys/arch/powerpc/powerpc/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.13 2000/06/08 22:25:22 niklas Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.14 2001/04/03 20:27:26 art Exp $ */ /* $NetBSD: vm_machdep.c,v 1.1 1996/09/30 16:34:57 ws Exp $ */ /* @@ -69,11 +69,7 @@ cpu_fork(p1, p2, stack, stacksize) save_fpu(p1); *pcb = p1->p_addr->u_pcb; -#ifdef UVM pcb->pcb_pm = p2->p_vmspace->vm_map.pmap; -#else - pcb->pcb_pm = &p2->p_vmspace->vm_pmap; -#endif pcb->pcb_pmreal = (struct pmap *)pmap_extract(pmap_kernel(), (vm_offset_t)pcb->pcb_pm); |