summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-12-05 00:11:52 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-12-05 00:11:52 +0000
commitfa0689f92d18b7b6403a25d4ccf5fe1e898bc4ac (patch)
treed9d87302c6b7f689a0bd490fcdd25ad85ed29c1b /sys/arch/m68k
parent2d6ebc6b1044ef771b2b25c09c2abffe0c0a0d3d (diff)
Update pmap_update macro for arches Art missed. Still just a noop.
Diffstat (limited to 'sys/arch/m68k')
-rw-r--r--sys/arch/m68k/include/pmap_motorola.h4
-rw-r--r--sys/arch/m68k/m68k/pmap_motorola.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/m68k/include/pmap_motorola.h b/sys/arch/m68k/include/pmap_motorola.h
index 7c71352bdab..028c4f61faa 100644
--- a/sys/arch/m68k/include/pmap_motorola.h
+++ b/sys/arch/m68k/include/pmap_motorola.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap_motorola.h,v 1.1 2001/11/30 20:54:50 miod Exp $ */
+/* $OpenBSD: pmap_motorola.h,v 1.2 2001/12/05 00:11:51 millert Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -143,7 +143,7 @@ extern struct pv_entry *pv_table; /* array of entries, one per page */
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
-#define pmap_update() /* nothing */
+#define pmap_update(pmap) /* nothing (yet) */
extern pt_entry_t *Sysmap;
extern char *vmmap; /* map for mem, dumps, etc. */
diff --git a/sys/arch/m68k/m68k/pmap_motorola.c b/sys/arch/m68k/m68k/pmap_motorola.c
index baca342bbba..fda1b55a7a9 100644
--- a/sys/arch/m68k/m68k/pmap_motorola.c
+++ b/sys/arch/m68k/m68k/pmap_motorola.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap_motorola.c,v 1.2 2001/12/02 02:01:52 millert Exp $ */
+/* $OpenBSD: pmap_motorola.c,v 1.3 2001/12/05 00:11:51 millert Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -730,7 +730,7 @@ pmap_map(va, spa, epa, prot)
va += PAGE_SIZE;
spa += PAGE_SIZE;
}
- pmap_update();
+ pmap_update(pmap_kernel());
return (va);
}
@@ -1768,7 +1768,7 @@ pmap_collect(pmap)
* all necessary locking.
*/
pmap_remove(pmap, VM_MIN_ADDRESS, VM_MAX_ADDRESS);
- pmap_update();
+ pmap_update(pmap);
}
#ifdef notyet
@@ -2731,7 +2731,7 @@ pmap_enter_ptpage(pmap, va)
pmap_changebit(ptpa, PG_CI, 1);
}
#endif
- pmap_update();
+ pmap_update(pmap);
#ifdef DEBUG
if (pmapdebug & (PDB_ENTER|PDB_PTPAGE)) {
int ix = pmap_ste(pmap, va) - pmap_ste(pmap, 0);
@@ -2767,7 +2767,7 @@ pmap_enter_ptpage(pmap, va)
pmap_enter(pmap_kernel(), va, ptpa,
VM_PROT_READ | VM_PROT_WRITE,
VM_PROT_READ | VM_PROT_WRITE | PMAP_WIRED);
- pmap_update();
+ pmap_update(pmap_kernel());
}
#if defined(M68040) || defined(M68060)
/*