From 0c3fdc8f7fc3ce2001e04f038cc787e97c6ca890 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 22 Apr 2010 07:55:03 +0000 Subject: - remove ptei(), which was verified to be unused. ok miod@ --- sys/arch/amd64/include/pmap.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch/amd64/include/pmap.h') 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) -- cgit v1.2.3