From 68fa456fe4131bdfe8adfcaf77899390ad29ca04 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 25 Mar 2013 19:33:12 +0000 Subject: PGSHIFT -> PAGE_SHIFT --- sys/arch/i386/include/pmap.h | 4 ++-- sys/arch/i386/include/vmparam.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/i386/include') diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h index 884c8b896dc..1c1e3783e50 100644 --- a/sys/arch/i386/include/pmap.h +++ b/sys/arch/i386/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.60 2013/03/23 16:12:23 deraadt Exp $ */ +/* $OpenBSD: pmap.h,v 1.61 2013/03/25 19:32:52 deraadt Exp $ */ /* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */ /* @@ -203,7 +203,7 @@ * pdei/ptei: generate index into PDP/PTP from a VA */ #define pdei(VA) (((VA) & PD_MASK) >> PDSHIFT) -#define ptei(VA) (((VA) & PT_MASK) >> PGSHIFT) +#define ptei(VA) (((VA) & PT_MASK) >> PAGE_SHIFT) /* * PTP macros: diff --git a/sys/arch/i386/include/vmparam.h b/sys/arch/i386/include/vmparam.h index 48823fc2bd7..965dc966841 100644 --- a/sys/arch/i386/include/vmparam.h +++ b/sys/arch/i386/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.50 2013/03/23 16:12:23 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.51 2013/03/25 19:33:11 deraadt Exp $ */ /* $NetBSD: vmparam.h,v 1.15 1994/10/27 04:16:34 cgd Exp $ */ /*- @@ -106,7 +106,7 @@ #define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAXUSER_ADDRESS ((vaddr_t)((PDSLOT_PTE<