summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-25 20:14:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-25 20:14:31 +0000
commit6b8a233ce94b939be068f3c3f91b64f511e6b34a (patch)
tree0576753a10212e1a3280417a92430fbb34e58789 /sys/arch
parent6eda9412f8dc717200dec22c57afdd2a46edfa8e (diff)
PGOFSET -> PAGE_MASK
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/include/pte.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/pte.h b/sys/arch/hppa/include/pte.h
index db6504f04ef..3883833a3d4 100644
--- a/sys/arch/hppa/include/pte.h
+++ b/sys/arch/hppa/include/pte.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pte.h,v 1.12 2011/11/10 22:48:13 deraadt Exp $ */
+/* $OpenBSD: pte.h,v 1.13 2013/03/25 20:14:30 deraadt Exp $ */
/*
* Copyright (c) 1990,1993,1994 The University of Utah and
@@ -33,7 +33,7 @@
#define PDE_MASK (0xffc00000)
#define PDE_SIZE (0x00400000)
#define PTE_MASK (0x003ff000)
-#define PTE_PAGE(pte) ((pte) & ~PGOFSET)
+#define PTE_PAGE(pte) ((pte) & ~PAGE_MASK)
/* TLB access/protection values */
#define TLB_WIRED 0x40000000 /* software only */