From b35029363e489797ff7966892874d01b1f86b826 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 18 Jul 1999 16:23:48 +0000 Subject: fix pmap_activate() and pmap_deactivate() arguments after art changed things --- sys/arch/amiga/amiga/pmap.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys/arch/amiga') 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); -- cgit v1.2.3