summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/include/param.h')
-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)