diff options
author | 2010-07-24 14:30:04 +0000 | |
---|---|---|
committer | 2010-07-24 14:30:04 +0000 | |
commit | c9c6f2ad62c7dc337bb55e2e78229fb6af68571b (patch) | |
tree | 153257afc46ff421a88dc3e597d02dc782bb3c46 | |
parent | One the -> On the (diff) | |
download | wireguard-openbsd-c9c6f2ad62c7dc337bb55e2e78229fb6af68571b.tar.xz wireguard-openbsd-c9c6f2ad62c7dc337bb55e2e78229fb6af68571b.zip |
Fix PTE_PAGE().
-rw-r--r-- | sys/arch/hppa64/include/pte.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa64/include/pte.h b/sys/arch/hppa64/include/pte.h index 4440b2da827..31f93949320 100644 --- a/sys/arch/hppa64/include/pte.h +++ b/sys/arch/hppa64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */ +/* $OpenBSD: pte.h,v 1.2 2010/07/24 14:30:04 kettenis Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -28,7 +28,7 @@ #define PDE_SHIFT (PTE_SHIFT+9) #define PTE_MASK (0x000001ff000UL) #define PTE_SHIFT PAGE_SHIFT -#define PTE_PAGE(pte) (((pte) & ~PTE_PGMASK) << 7) +#define PTE_PAGE(pte) (((pte) & PTE_PGMASK) << 7) #define TLB_PAGE(pg) (((pg) >> 7) & PTE_PGMASK) #define PTE_IFLUSH 0x8000000000000000UL /* software */ |