diff options
author | 2014-04-21 11:58:48 +0000 | |
---|---|---|
committer | 2014-04-21 11:58:48 +0000 | |
commit | da7f9b3342a595e30a18db3c834007898eba904f (patch) | |
tree | 15cc5f61ac98d38ce278306a3908270a332e6484 | |
parent | add support for reading/writing long paths and linkpaths as extended (diff) | |
download | wireguard-openbsd-da7f9b3342a595e30a18db3c834007898eba904f.tar.xz wireguard-openbsd-da7f9b3342a595e30a18db3c834007898eba904f.zip |
Fix off-by-one error in PG_LGFRAME mask
ok mlarkin@
-rw-r--r-- | sys/arch/amd64/include/pte.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/pte.h b/sys/arch/amd64/include/pte.h index e7bc3671c21..acdb7535c62 100644 --- a/sys/arch/amd64/include/pte.h +++ b/sys/arch/amd64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.9 2013/03/23 16:12:20 deraadt Exp $ */ +/* $OpenBSD: pte.h,v 1.10 2014/04/21 11:58:48 guenther Exp $ */ /* $NetBSD: pte.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */ /* @@ -123,7 +123,7 @@ typedef u_int64_t pt_entry_t; /* PTE */ #define PG_NX 0x8000000000000000UL /* non-executable */ #define PG_FRAME 0x000ffffffffff000UL -#define PG_LGFRAME 0x000fffffffc00000UL /* large (2M) page frame mask */ +#define PG_LGFRAME 0x000fffffffe00000UL /* large (2M) page frame mask */ /* Cacheability bits when we are using PAT */ #define PG_WB (0) /* The default */ |