summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-04-01 12:52:24 +0000
committermiod <miod@openbsd.org>2013-04-01 12:52:24 +0000
commit4612d1688faa1e1fe3b0d33296a35cfa72d2bb7f (patch)
tree26dd539c9dbdfcd484eaa038d19158c75bc86005
parenttweak makefile now that asr is built by default. (diff)
downloadwireguard-openbsd-4612d1688faa1e1fe3b0d33296a35cfa72d2bb7f.tar.xz
wireguard-openbsd-4612d1688faa1e1fe3b0d33296a35cfa72d2bb7f.zip
Unbreak 1.16
-rw-r--r--sys/arch/m88k/include/param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/m88k/include/param.h b/sys/arch/m88k/include/param.h
index b3b4db67d20..3b910ade707 100644
--- a/sys/arch/m88k/include/param.h
+++ b/sys/arch/m88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.18 2013/03/26 05:04:10 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.19 2013/04/01 12:52:24 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -57,8 +57,8 @@
#ifdef _KERNEL
#define NBPG PAGE_SIZE
-#define PGSHIFT PAGE_SHIFT /* LOG2(PAGE_SIZE) */
-#define PGOFSET PAGE_SIZE /* byte offset into page */
+#define PGSHIFT PAGE_SHIFT
+#define PGOFSET PAGE_MASK
#define UPAGES 2 /* pages of u-area */
#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */