diff options
| author | 2007-10-27 22:20:16 +0000 | |
|---|---|---|
| committer | 2007-10-27 22:20:16 +0000 | |
| commit | c5decc7ccf0907b69b9047d505f50e8315d34718 (patch) | |
| tree | 0962b5877fe607eaa4260389a24b5d0141f34520 /sys/arch/sparc64/include/param.h | |
| parent | Deal with usb string printing changes. (diff) | |
| download | wireguard-openbsd-c5decc7ccf0907b69b9047d505f50e8315d34718.tar.xz wireguard-openbsd-c5decc7ccf0907b69b9047d505f50e8315d34718.zip | |
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.h | 6 |
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) |
