summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/include/pte.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-07-24 14:30:05 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-07-24 14:30:05 +0000
commit8033274383619004d9ac8dd6bb8c86757d580a3e (patch)
treef2d923401004555c9ec4997fe1310e1e1a8e5d3b /sys/arch/hppa64/include/pte.h
parent5d1a1643c83c0438daf52feeffdc768f754f13a0 (diff)
Fix PTE_PAGE().
Diffstat (limited to 'sys/arch/hppa64/include/pte.h')
-rw-r--r--sys/arch/hppa64/include/pte.h4
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 */