summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2010-04-22 07:55:02 +0000
committerjasper <jasper@openbsd.org>2010-04-22 07:55:02 +0000
commit43c45e17ee4aac780a6d8b41d6f63ec94089f228 (patch)
tree7851b305ac242a554db545f37b8d73814e6cf07d
parentUnbreak build of MPLS enabled kernel. proc.h is needed. (diff)
downloadwireguard-openbsd-43c45e17ee4aac780a6d8b41d6f63ec94089f228.tar.xz
wireguard-openbsd-43c45e17ee4aac780a6d8b41d6f63ec94089f228.zip
- remove ptei(), which was verified to be unused.
ok miod@
-rw-r--r--sys/arch/amd64/include/pmap.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/pmap.h b/sys/arch/amd64/include/pmap.h
index cb2c3ef91be..29b45bfb562 100644
--- a/sys/arch/amd64/include/pmap.h
+++ b/sys/arch/amd64/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.30 2009/12/09 18:45:49 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.31 2010/04/22 07:55:02 jasper Exp $ */
/* $NetBSD: pmap.h,v 1.1 2003/04/26 18:39:46 fvdl Exp $ */
/*
@@ -222,8 +222,6 @@
#define NPDPG (PAGE_SIZE / sizeof (pd_entry_t))
-#define ptei(VA) (((VA_SIGN_POS(VA)) & L1_MASK) >> L1_SHIFT)
-
/*
* pl*_pi: index in the ptp page for a pde mapping a VA.
* (pl*_i below is the index in the virtual array of all pdes per level)