diff options
author | 2011-05-18 20:41:24 +0000 | |
---|---|---|
committer | 2011-05-18 20:41:24 +0000 | |
commit | 9207a041eb0791b0f67bfa06e46b496166cec0b4 (patch) | |
tree | c7e19915f84b11a709415c7dc6d9b8685fbd220f | |
parent | Support setting the xterm clipboard when copying from copy mode using (diff) | |
download | wireguard-openbsd-9207a041eb0791b0f67bfa06e46b496166cec0b4.tar.xz wireguard-openbsd-9207a041eb0791b0f67bfa06e46b496166cec0b4.zip |
Off-by-two in PMAP_PREFER_ALIGN definition; found the hard way by matthieu@
-rw-r--r-- | sys/arch/sparc64/include/pmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/pmap.h b/sys/arch/sparc64/include/pmap.h index 231792771b3..7d2913a3fdb 100644 --- a/sys/arch/sparc64/include/pmap.h +++ b/sys/arch/sparc64/include/pmap.h @@ -170,7 +170,7 @@ void pmap_bootstrap(u_long, u_long, u_int, u_int); #define PMAP_PREFER(pa, va) ((va) + (((va) ^ (pa)) & VA_ALIAS_MASK)) /* pmap prefer alignment */ -#define PMAP_PREFER_ALIGN() (VA_ALIAS_MASK + 1) +#define PMAP_PREFER_ALIGN() (VA_ALIAS_MASK - 1) /* pmap prefer offset in alignment */ #define PMAP_PREFER_OFFSET(of) ((of) & VA_ALIAS_MASK) |