summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/include/mips_param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/pmax/include/mips_param.h')
-rw-r--r--sys/arch/pmax/include/mips_param.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/pmax/include/mips_param.h b/sys/arch/pmax/include/mips_param.h
index 9c3ad6736be..0a4b1947385 100644
--- a/sys/arch/pmax/include/mips_param.h
+++ b/sys/arch/pmax/include/mips_param.h
@@ -7,6 +7,7 @@
*/
#define ALIGNBYTES 7
#define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
+#define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0)
#define NBPG 4096 /* bytes/page */
#define PGOFSET (NBPG-1) /* byte offset into page */