summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-05-13 02:37:31 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-05-13 02:37:31 +0000
commit0703ff606a414920f3d89d3bb9ad685aaed9ca0f (patch)
tree35e4ec73a5bfc4958e997feca5bfa340ff1783b6 /sys/arch/mvme88k
parent8e5a89c3798af4f4558df82e55d42d8c3e8f3f7e (diff)
PAGE_MASK is (PAGE_SIZE - 1), *not* (PAGE_SHIFT - 1)
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/include/param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/include/param.h b/sys/arch/mvme88k/include/param.h
index ecd1cdc0f64..4d00d829a42 100644
--- a/sys/arch/mvme88k/include/param.h
+++ b/sys/arch/mvme88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.17 2001/05/10 22:46:43 miod Exp $ */
+/* $OpenBSD: param.h,v 1.18 2001/05/13 02:37:29 millert Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1988 University of Utah.
@@ -40,7 +40,7 @@
* from: Utah $Hdr: machparam.h 1.11 89/08/14$
*
* @(#)param.h 7.8 (Berkeley) 6/28/91
- * $Id: param.h,v 1.17 2001/05/10 22:46:43 miod Exp $
+ * $Id: param.h,v 1.18 2001/05/13 02:37:29 millert Exp $
*/
#ifndef _MACHINE_PARAM_H_
#define _MACHINE_PARAM_H_
@@ -76,7 +76,7 @@
#define PAGE_SHIFT 12
#define PAGE_SIZE (1 << PAGE_SHIFT)
-#define PAGE_MASK (PAGE_SHIFT - 1)
+#define PAGE_MASK (PAGE_SIZE - 1)
#define NPTEPG (NBPG/(sizeof(u_int)))