summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/pmap.h
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-11-09 18:08:38 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-11-09 18:08:38 +0000
commitdd911d3a6513d0234c5faa7fe84a1c8e4caafbda (patch)
tree1c638b81ec520c3a4255cb438be7f16d560224f4 /sys/arch/arm/include/pmap.h
parent055e9ae6eeb7810687cd1bbbbb2216433a2bf429 (diff)
use atop() and ptoa()
tested by jolan@
Diffstat (limited to 'sys/arch/arm/include/pmap.h')
-rw-r--r--sys/arch/arm/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/include/pmap.h b/sys/arch/arm/include/pmap.h
index 7d263e7cc94..2c979015165 100644
--- a/sys/arch/arm/include/pmap.h
+++ b/sys/arch/arm/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.3 2004/08/06 22:39:12 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.4 2005/11/09 18:08:37 martin Exp $ */
/* $NetBSD: pmap.h,v 1.76 2003/09/06 09:10:46 rearnsha Exp $ */
/*
@@ -244,7 +244,7 @@ extern int pmap_debug_level; /* Only exists if PMAP_DEBUG */
#define pmap_copy(dp, sp, da, l, sa) /* nothing */
-#define pmap_phys_address(ppn) (arm_ptob((ppn)))
+#define pmap_phys_address(ppn) (ptoa(ppn))
#define pmap_proc_iflush(p, va, len) /* nothing */
#define pmap_unuse_final(p) /* nothing */