diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-07 15:45:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-07 15:45:19 +0000 |
commit | 0c04d1ff464573bd89ea1884ad71bed30df9c9c0 (patch) | |
tree | c10b2184e017cd1cb87b7608fb3cf89e433c3151 /sys/arch/powerpc/include/param.h | |
parent | aa1d707b3d33489f4d03816c38e6aa3451ae4fd5 (diff) |
Make sure the ALIGN() macro uses u_long on all platforms for consistency, and
update the comment block accordingly.
Diffstat (limited to 'sys/arch/powerpc/include/param.h')
-rw-r--r-- | sys/arch/powerpc/include/param.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index 89d2ac92102..640348a0be4 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.30 2007/11/04 13:43:39 martin Exp $ */ +/* $OpenBSD: param.h,v 1.31 2011/04/07 15:45:17 miod Exp $ */ /* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -50,7 +50,7 @@ #define MID_MACHINE MID_POWERPC #define ALIGNBYTES (sizeof(double) - 1) -#define ALIGN(p) (((u_int)(p) + ALIGNBYTES) & ~ALIGNBYTES) +#define ALIGN(p) (((u_long)(p) + ALIGNBYTES) & ~ALIGNBYTES) #define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0) #define PAGE_SHIFT 12 |