diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-16 19:17:25 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-16 19:17:25 +0000 |
commit | d2c49abd29805cc0e705b8c69c4b76aae5eb7a83 (patch) | |
tree | 8e64272b2fae0275a8b790cd68a066d6c16d41c2 /sys/arch/hppa/include | |
parent | fbe6e4db255ebabde635e34b27ee3e90384da5c8 (diff) |
import some alphaizm for the db_elf's sake
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r-- | sys/arch/hppa/include/param.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h index 27bb2f91b7d..c096f1df584 100644 --- a/sys/arch/hppa/include/param.h +++ b/sys/arch/hppa/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.9 2000/02/22 20:08:16 mickey Exp $ */ +/* $OpenBSD: param.h,v 1.10 2001/02/16 19:17:24 mickey Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -43,6 +43,7 @@ */ #define ALIGNBYTES 7 #define ALIGN(p) (((u_long)(p) + ALIGNBYTES) &~ ALIGNBYTES) +#define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t) - 1)) == 0) #define PAGE_SIZE 4096 #define PAGE_MASK (PAGE_SIZE-1) |