summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2007-10-01 12:10:56 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2007-10-01 12:10:56 +0000
commit56fe30b1f14444b0d1b4fa3847a1730d34346c7d (patch)
treee4de3eb6a7e9c7cc233b712675cd797fa1072bec /sys/arch
parent641bf76b011f19a6e68d429e89a9a8e72a764a72 (diff)
more btoc -> atop
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/include/param.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index 63ecde8ec2e..dc8a640568b 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.41 2007/09/01 15:14:44 martin Exp $ */
+/* $OpenBSD: param.h,v 1.42 2007/10/01 12:10:55 martin Exp $ */
/* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */
/*-
@@ -116,9 +116,6 @@
#define ctod(x) ((x) << (PGSHIFT - DEV_BSHIFT))
#define dtoc(x) ((x) >> (PGSHIFT - DEV_BSHIFT))
-/* bytes to pages */
-#define btoc(x) (((x) + PGOFSET) >> PGSHIFT)
-
/* bytes to disk blocks */
#define dbtob(x) ((x) << DEV_BSHIFT)
#define btodb(x) ((x) >> DEV_BSHIFT)