summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2008-08-30 20:45:32 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2008-08-30 20:45:32 +0000
commit59ad86f4cf3e5a40d37a8e9578713154750e9978 (patch)
treea65aa5eca4d3f7fa057d22f3323107e7e6b9d69a /sys/arch/vax/include
parentbd34341b66afeb6bf8ade73efde2bbfb319bfe25 (diff)
replace TRUNC_PAGE by trunc_page and ROUND_PAGE by round_page
plus cast to vaddr_t where necassary from Miod's todo list ok miod@
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r--sys/arch/vax/include/pmap.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/vax/include/pmap.h b/sys/arch/vax/include/pmap.h
index 2388a77b77b..79088650d0e 100644
--- a/sys/arch/vax/include/pmap.h
+++ b/sys/arch/vax/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.29 2007/12/15 17:24:07 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.30 2008/08/30 20:45:31 martin Exp $ */
/* $NetBSD: pmap.h,v 1.37 1999/08/01 13:48:07 ragge Exp $ */
/*
@@ -85,10 +85,6 @@ struct pv_entry {
struct pmap *pv_pmap; /* pmap this entry belongs to */
};
-/* ROUND_PAGE used before vm system is initialized */
-#define ROUND_PAGE(x) (((uint)(x) + PGOFSET) & ~PGOFSET)
-#define TRUNC_PAGE(x) ((uint)(x) & ~PGOFSET)
-
/* Mapping macros used when allocating SPT */
#define MAPVIRT(ptr, count) \
(vaddr_t)ptr = virtual_avail; \