summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-03-26 04:58:05 +0000
committerderaadt <deraadt@openbsd.org>2013-03-26 04:58:05 +0000
commit5de8ed6d5465eda16f3b75263b51b89232e1c70a (patch)
treee594fe75b86f04fcbadd5282b5f2099c36cb95ba
parentRemove a block of dead code in in6_ifdetach(). It was never executed (diff)
downloadwireguard-openbsd-5de8ed6d5465eda16f3b75263b51b89232e1c70a.tar.xz
wireguard-openbsd-5de8ed6d5465eda16f3b75263b51b89232e1c70a.zip
maybe the last PGSHIFT -> PAGE_SHIFT
-rw-r--r--sys/arch/vax/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/include/pmap.h b/sys/arch/vax/include/pmap.h
index 3c77b217aa0..068696e7757 100644
--- a/sys/arch/vax/include/pmap.h
+++ b/sys/arch/vax/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.33 2012/11/25 22:13:46 jsg Exp $ */
+/* $OpenBSD: pmap.h,v 1.34 2013/03/26 04:58:05 deraadt Exp $ */
/* $NetBSD: pmap.h,v 1.37 1999/08/01 13:48:07 ragge Exp $ */
/*
@@ -52,7 +52,7 @@
/*
* Some constants to make life easier.
*/
-#define LTOHPS (PGSHIFT - VAX_PGSHIFT)
+#define LTOHPS (PAGE_SHIFT - VAX_PGSHIFT)
#define LTOHPN (1 << LTOHPS)
#define USRPTSIZE ((MAXTSIZ + 40*1024*1024 + MAXSSIZ) / VAX_NBPG)
#define NPTEPGS (USRPTSIZE / (sizeof(pt_entry_t) * LTOHPN))