summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/param.h
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2007-10-27 22:20:17 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2007-10-27 22:20:17 +0000
commit22bd45329d6acaa82d62c2bb8a8a7091cccf21bd (patch)
treedbb3318a8a8b6b92a6978f1ca4b11740283299a3 /sys/arch/sparc64/include/param.h
parenta218880a8c90e12a2a67958014bf6210860da560 (diff)
get rid of btoc/ctob in favor of atop/ptoa
Diffstat (limited to 'sys/arch/sparc64/include/param.h')
-rw-r--r--sys/arch/sparc64/include/param.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h
index 37038b88296..07e9d24c34e 100644
--- a/sys/arch/sparc64/include/param.h
+++ b/sys/arch/sparc64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.28 2007/09/09 14:59:37 kettenis Exp $ */
+/* $OpenBSD: param.h,v 1.29 2007/10/27 22:20:16 martin Exp $ */
/* $NetBSD: param.h,v 1.25 2001/05/30 12:28:51 mrg Exp $ */
/*
@@ -168,10 +168,6 @@
#define ctod(x) ((x) << (PGSHIFT - DEV_BSHIFT))
#define dtoc(x) ((x) >> (PGSHIFT - DEV_BSHIFT))
-/* pages to bytes */
-#define ctob(x) ((x) << PGSHIFT)
-#define btoc(x) (((vsize_t)(x) + PGOFSET) >> PGSHIFT)
-
/* bytes to disk blocks */
#define btodb(x) ((x) >> DEV_BSHIFT)
#define dbtob(x) ((x) << DEV_BSHIFT)