summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-15 21:34:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-15 21:34:34 +0000
commite2b2dd619edd58f49d6ce8b43c1da41d66e9a7eb (patch)
tree69faf09b84dc583d6dd2a6afb7c4d7caf470743f /sys/arch/powerpc
parent43cbd5fb7af372c4817d128b7914b3ab3e010117 (diff)
Change pmap_remove_holes() to take a vmspace instead of a map as its argument.
Use this on vax to correctly pick the end of the stack area now that the stackgap adjustment code will no longer guarantee it is a fixed location.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h
index a6eaa1963e2..ba66701637c 100644
--- a/sys/arch/powerpc/include/pmap.h
+++ b/sys/arch/powerpc/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.54 2015/02/09 13:35:43 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.55 2015/02/15 21:34:33 miod Exp $ */
/* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */
/*-
@@ -146,7 +146,7 @@ int pte_spill_v(struct pmap *pm, u_int32_t va, u_int32_t dsisr, int exec_fault);
int reserve_dumppages(caddr_t p);
#define pmap_unuse_final(p) /* nothing */
-#define pmap_remove_holes(map) do { /* nothing */ } while (0)
+#define pmap_remove_holes(vm) do { /* nothing */ } while (0)
#define PMAP_STEAL_MEMORY