diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-11-04 13:43:40 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-11-04 13:43:40 +0000 |
commit | 03b7854a5f55c1c5037acf4c3727dc11004a288e (patch) | |
tree | af095fa6937131224a5d4d74ac7c3ad553215e54 /sys/arch/powerpc/include | |
parent | 9ca9c9b5b03559ce53f033908a7d1a55ced590aa (diff) |
replace even more ctob/btoc with ptoa/atop
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r-- | sys/arch/powerpc/include/param.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index dd40e4052fe..89d2ac92102 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.29 2007/05/28 21:02:49 thib Exp $ */ +/* $OpenBSD: param.h,v 1.30 2007/11/04 13:43:39 martin Exp $ */ /* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -86,11 +86,6 @@ */ #define ctod(x) ((x) << (PGSHIFT - DEV_BSHIFT)) #define dtoc(x) ((x) >> (PGSHIFT - DEV_BSHIFT)) -/* - * bytes to pages - */ -#define ctob(x) ((x) << PGSHIFT) -#define btoc(x) (((x) + PGOFSET) >> PGSHIFT) /* * bytes to disk blocks |