summaryrefslogtreecommitdiff
path: root/sys/arch/arm/mainbus
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/mainbus
parent055e9ae6eeb7810687cd1bbbbb2216433a2bf429 (diff)
use atop() and ptoa()
tested by jolan@
Diffstat (limited to 'sys/arch/arm/mainbus')
-rw-r--r--sys/arch/arm/mainbus/mainbus_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/mainbus/mainbus_io.c b/sys/arch/arm/mainbus/mainbus_io.c
index 4a6235b7804..e78f7ee4fa2 100644
--- a/sys/arch/arm/mainbus/mainbus_io.c
+++ b/sys/arch/arm/mainbus/mainbus_io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus_io.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
+/* $OpenBSD: mainbus_io.c,v 1.2 2005/11/09 18:08:37 martin Exp $ */
/* $NetBSD: mainbus_io.c,v 1.14 2003/12/06 22:05:33 bjh21 Exp $ */
/*
@@ -233,7 +233,7 @@ mainbus_bs_mmap(t, paddr, offset, prot, flags)
/*
* mmap from address `paddr+offset' for one page
*/
- return (arm_btop((paddr + offset)));
+ return (atop(paddr + offset));
}
void