summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 16:45:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 16:45:56 +0000
commit14731676789a8c8e582157c68228197d0146adfc (patch)
treea04ef932cefd4d4eb2a9cc5a6362ac82097ccf85 /sys/arch/mac68k
parent6cd1705862866b49116ca4c1e1c724064c1a0dbe (diff)
fix pmap_activate() and pmap_deactivate() arguments after art changed things
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/pmap.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/arch/mac68k/mac68k/pmap.c b/sys/arch/mac68k/mac68k/pmap.c
index e284b86482d..c76639c97ee 100644
--- a/sys/arch/mac68k/mac68k/pmap.c
+++ b/sys/arch/mac68k/mac68k/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.13 1999/07/18 16:23:47 deraadt Exp $ */
+/* $OpenBSD: pmap.c,v 1.14 1999/07/18 16:45:51 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.28 1996/10/21 05:42:27 scottr Exp $ */
/*
@@ -792,13 +792,13 @@ pmap_reference(pmap)
}
void loadustp __P((vm_offset_t));
-void pmap_activate __P((register pmap_t));
void
-pmap_activate(pmap)
- register pmap_t pmap;
+pmap_activate(p)
+ struct proc *p;
{
struct pcb *pcbp = &p->p_addr->u_pcb;
+ pmap_t pmap = p->p_vmspace->vm_map.pmap;
if (pmap == NULL)
return;
@@ -811,11 +811,9 @@ pmap_activate(pmap)
PMAP_ACTIVATE(pmap, pcbp, pmap == curproc->p_vmspace->vm_map.pmap);
}
-void pmap_deactivate __P((register pmap_t));
-
void
-pmap_deactivate(pmap)
- register pmap_t pmap;
+pmap_deactivate(p)
+ struct proc *p;
{
}