diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-11-28 16:33:21 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-11-28 16:33:21 +0000 |
commit | 49937de90c40cd165329fbfd7fe3227ba01ad165 (patch) | |
tree | fe788d085e6ec56c64b980092ca0676bacf4f0c9 /sys/arch/sparc/include | |
parent | f3088325df5489e3c4f60e102a5ebaeee1884bb8 (diff) |
ctob/btoc -> ptoa/atop
from Rodolfo Gouveia
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r-- | sys/arch/sparc/include/param.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h index 95dbcd3ea9d..4eb288b689b 100644 --- a/sys/arch/sparc/include/param.h +++ b/sys/arch/sparc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.39 2007/05/28 21:02:49 thib Exp $ */ +/* $OpenBSD: param.h,v 1.40 2007/11/28 16:33:20 martin Exp $ */ /* $NetBSD: param.h,v 1.29 1997/03/10 22:50:37 pk Exp $ */ /* @@ -108,10 +108,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) (((x) + PGOFSET) >> PGSHIFT) - /* bytes to disk blocks */ #define btodb(x) ((x) >> DEV_BSHIFT) #define dbtob(x) ((x) << DEV_BSHIFT) |