summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/mvme68k/pmap.c11
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;
{
}