summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/param.h
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2008-05-04 09:57:48 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2008-05-04 09:57:48 +0000
commitac601af741ec6b7286d79ec95cef84354dcf0cfe (patch)
tree30e30d5498181365c90c7a66f100a09adcd4a2d0 /sys/arch/arm/include/param.h
parent36fc7f0644092574a9ce2540ddf97cbffd75da71 (diff)
convert arm and mips64 platforms to ptoa/atop
tested by maja@
Diffstat (limited to 'sys/arch/arm/include/param.h')
-rw-r--r--sys/arch/arm/include/param.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/arm/include/param.h b/sys/arch/arm/include/param.h
index ae7022c4ead..542b1fbc20c 100644
--- a/sys/arch/arm/include/param.h
+++ b/sys/arch/arm/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.11 2007/05/28 21:02:49 thib Exp $ */
+/* $OpenBSD: param.h,v 1.12 2008/05/04 09:57:47 martin Exp $ */
/* $NetBSD: param.h,v 1.9 2002/03/24 03:37:23 thorpej Exp $ */
/*
@@ -157,11 +157,6 @@ void delay (unsigned);
#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT))
/*#define dtob(x) ((x) << DEV_BSHIFT)*/
-#define ctob(x) ((x) << PAGE_SHIFT)
-
-/* bytes to pages */
-#define btoc(x) (((x) + PAGE_MASK) >> PAGE_SHIFT)
-
#define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \
((bytes) >> DEV_BSHIFT)
#define dbtob(db) /* calculates (db * DEV_BSIZE) */ \