summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/pmap.h
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2010-04-22 07:55:03 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2010-04-22 07:55:03 +0000
commit0c3fdc8f7fc3ce2001e04f038cc787e97c6ca890 (patch)
tree19eeee073fca3339bb237fbf806cb9b2eef0b6f6 /sys/arch/amd64/include/pmap.h
parentcbe38df3f2322e17cb6c959ff7f92814bef013b8 (diff)
- remove ptei(), which was verified to be unused.
ok miod@
Diffstat (limited to 'sys/arch/amd64/include/pmap.h')
-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)