summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-03-25 20:14:30 +0000
committerderaadt <deraadt@openbsd.org>2013-03-25 20:14:30 +0000
commit43b48a84e0acab16075a54971dc20a20b42b6330 (patch)
tree8d57d7738abdcfb3c43a70db6545865b3c9f2f3e
parentimport perl 5.16.3 from CPAN - worked on by Andrew Fresh and myself (diff)
downloadwireguard-openbsd-43b48a84e0acab16075a54971dc20a20b42b6330.tar.xz
wireguard-openbsd-43b48a84e0acab16075a54971dc20a20b42b6330.zip
PGOFSET -> PAGE_MASK
-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 */