diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2002-03-21 02:08:41 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2002-03-21 02:08:41 +0000 |
commit | b34eac12de5a6806deee89ee0fd864261b089c59 (patch) | |
tree | 7828c65f019e1fd2c12205782ae6dbfbeeef5818 /sys/arch/powerpc/include/param.h | |
parent | a424e587ecaf65cb0fcf57370c7294cc415abf8b (diff) |
Swap the defines to be the ones we want to use, compat ones are defined
from the preferred.
Diffstat (limited to 'sys/arch/powerpc/include/param.h')
-rw-r--r-- | sys/arch/powerpc/include/param.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index 4d6ecbe46ab..c76b3805e13 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.20 2002/03/13 18:27:36 drahn Exp $ */ +/* $OpenBSD: param.h,v 1.21 2002/03/21 02:08:40 drahn Exp $ */ /* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -53,12 +53,12 @@ #define ALIGN(p) (((u_int)(p) + ALIGNBYTES) & ~ALIGNBYTES) #define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0) -#define PGSHIFT 12 -#define NBPG 4096 -#define PGOFSET (NBPG - 1) -#define PAGE_SIZE NBPG -#define PAGE_MASK PGOFSET -#define PAGE_SHIFT PGSHIFT +#define PAGE_SHIFT 12 +#define PAGE_SIZE 4096 +#define PAGE_MASK (PAGE_SIZE - 1) +#define PGSHIFT PAGE_SHIFT +#define NBPG PAGE_SIZE +#define PGOFSET PAGE_MASK #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ #define DEV_BSIZE (1 << DEV_BSHIFT) |