summaryrefslogtreecommitdiff
path: root/sys/arch/sh
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/sh
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/sh')
-rw-r--r--sys/arch/sh/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/include/pmap.h b/sys/arch/sh/include/pmap.h
index ebcfc99b23d..06b1c48236c 100644
--- a/sys/arch/sh/include/pmap.h
+++ b/sys/arch/sh/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.13 2014/01/30 18:16:41 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.14 2015/02/15 21:34:33 miod Exp $ */
/* $NetBSD: pmap.h,v 1.28 2006/04/10 23:12:11 uwe Exp $ */
/*-
@@ -59,7 +59,7 @@ extern struct pmap __pmap_kernel;
void pmap_bootstrap(void);
#define pmap_unuse_final(p) do { /* nothing */ } while (0)
-#define pmap_remove_holes(map) do { /* nothing */ } while (0)
+#define pmap_remove_holes(vm) do { /* nothing */ } while (0)
#define pmap_kernel() (&__pmap_kernel)
#define pmap_deactivate(pmap) do { /* nothing */ } while (0)
#define pmap_update(pmap) do { /* nothing */ } while (0)