summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 16:23:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 16:23:48 +0000
commitb35029363e489797ff7966892874d01b1f86b826 (patch)
tree159e5bb56e10160d4b3931c6c4f931f6159f93fd /sys/arch/amiga
parentda33dbde9c0a17d9c681b28193611bb4099d8d15 (diff)
fix pmap_activate() and pmap_deactivate() arguments after art changed things
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/amiga/pmap.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/amiga/amiga/pmap.c b/sys/arch/amiga/amiga/pmap.c
index 4f76f86c587..a40aab2b1c1 100644
--- a/sys/arch/amiga/amiga/pmap.c
+++ b/sys/arch/amiga/amiga/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.12 1999/01/11 05:11:05 millert Exp $ */
+/* $OpenBSD: pmap.c,v 1.13 1999/07/18 16:23:46 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.39 1997/06/10 18:26:41 veego Exp $ */
/*
@@ -277,7 +277,7 @@ void pmap_enter_ptpage __P((register pmap_t, register vm_offset_t));
pa < vm_last_phys)
#endif
-void pmap_activate __P((register pmap_t, struct pcb *));
+void pmap_activate __P((register pmap_t));
extern vm_offset_t reserve_dumppages __P((vm_offset_t));
static void amiga_protection_init __P((void));
void pmap_check_wiring __P((char *, vm_offset_t));
@@ -1925,10 +1925,11 @@ ok:
}
void
-pmap_activate(pmap, pcbp)
+pmap_activate(pmap)
register pmap_t pmap;
- struct pcb *pcbp;
{
+ struct pcb *pcbp = &p->p_addr->u_pcb;
+
#ifdef DEBUG
if (pmapdebug & (PDB_FOLLOW|PDB_SEGTAB))
printf("pmap_activate(%p, %p)\n", pmap, pcbp);