Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include remove unused ptei
details: https://anonhg.NetBSD.org/src/rev/8cf785df7f56
branches: trunk
changeset: 764505:8cf785df7f56
user: yamt <yamt%NetBSD.org@localhost>
date: Mon Apr 25 22:24:00 2011 +0000
description:
remove unused ptei
diffstat:
sys/arch/x86/include/pmap.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r 66f77a1640ba -r 8cf785df7f56 sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h Mon Apr 25 22:23:47 2011 +0000
+++ b/sys/arch/x86/include/pmap.h Mon Apr 25 22:24:00 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.35 2011/02/11 23:08:38 jmcneill Exp $ */
+/* $NetBSD: pmap.h,v 1.36 2011/04/25 22:24:00 yamt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -67,8 +67,6 @@
#ifndef _X86_PMAP_H_
#define _X86_PMAP_H_
-#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)
Home |
Main Index |
Thread Index |
Old Index