diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-05-13 02:37:31 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-05-13 02:37:31 +0000 |
commit | 0703ff606a414920f3d89d3bb9ad685aaed9ca0f (patch) | |
tree | 35e4ec73a5bfc4958e997feca5bfa340ff1783b6 /sys/arch/mvme68k/include | |
parent | 8e5a89c3798af4f4558df82e55d42d8c3e8f3f7e (diff) |
PAGE_MASK is (PAGE_SIZE - 1), *not* (PAGE_SHIFT - 1)
Diffstat (limited to 'sys/arch/mvme68k/include')
-rw-r--r-- | sys/arch/mvme68k/include/param.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/include/param.h b/sys/arch/mvme68k/include/param.h index 21242e75052..f261b41c954 100644 --- a/sys/arch/mvme68k/include/param.h +++ b/sys/arch/mvme68k/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.10 2001/05/10 22:46:41 miod Exp $ */ +/* $OpenBSD: param.h,v 1.11 2001/05/13 02:37:29 millert Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -65,7 +65,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 (pt_entry_t))) |