diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-07-18 16:45:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-07-18 16:45:56 +0000 |
commit | 14731676789a8c8e582157c68228197d0146adfc (patch) | |
tree | a04ef932cefd4d4eb2a9cc5a6362ac82097ccf85 /sys/arch/mvme68k | |
parent | 6cd1705862866b49116ca4c1e1c724064c1a0dbe (diff) |
fix pmap_activate() and pmap_deactivate() arguments after art changed things
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/pmap.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/mvme68k/mvme68k/pmap.c b/sys/arch/mvme68k/mvme68k/pmap.c index 502fe7527f1..c65e09843a7 100644 --- a/sys/arch/mvme68k/mvme68k/pmap.c +++ b/sys/arch/mvme68k/mvme68k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.9 1999/07/18 16:23:47 deraadt Exp $ */ +/* $OpenBSD: pmap.c,v 1.10 1999/07/18 16:45:52 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -909,10 +909,11 @@ pmap_reference(pmap) } void -pmap_activate(pmap) - register pmap_t pmap; +pmap_activate(p) + struct proc *p; { struct pcb *pcb = &p->p_addr->u_pcb; + pmap_t pmap = p->p_vmspace->vm_map.pmap; if (pmap == NULL) return; @@ -926,8 +927,8 @@ pmap_activate(pmap) } void -pmap_deactivate(pmap) - register pmap_t pmap; +pmap_deactivate(p) + struct proc *p; { } |