summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/pmap.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-09-12 12:56:17 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-09-12 12:56:17 +0000
commitd14c02b2cefc9474d9aee145bc0c9e9096ee244f (patch)
tree544dd7ee0d380fb55d68c5cf5364c2f84af3428d /sys/arch/i386/include/pmap.h
parent94cd548f5e458ee4007ccd36bb076cdb1633224f (diff)
Change the PMAP_PAGEIDLEZERO api to take the struct vm_page instead of the pa.
Diffstat (limited to 'sys/arch/i386/include/pmap.h')
-rw-r--r--sys/arch/i386/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h
index 77f2e44049b..794a89470cb 100644
--- a/sys/arch/i386/include/pmap.h
+++ b/sys/arch/i386/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.27 2002/07/31 02:30:29 mickey Exp $ */
+/* $OpenBSD: pmap.h,v 1.28 2002/09/12 12:56:16 art Exp $ */
/* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */
/*
@@ -414,7 +414,7 @@ vaddr_t reserve_dumppages(vaddr_t); /* XXX: not a pmap fn */
* Do idle page zero'ing uncached to avoid polluting the cache.
*/
boolean_t pmap_zero_page_uncached(paddr_t);
-#define PMAP_PAGEIDLEZERO(pa) pmap_zero_page_uncached((pa))
+#define PMAP_PAGEIDLEZERO(pg) pmap_zero_page_uncached(VM_PAGE_TO_PHYS(pg))
/*
* inline functions