Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include/arm32 G/C l1pte_pgindex



details:   https://anonhg.NetBSD.org/src/rev/5641958916a7
branches:  trunk
changeset: 1007617:5641958916a7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Feb 23 15:12:18 2020 +0000

description:
G/C l1pte_pgindex

diffstat:

 sys/arch/arm/include/arm32/pmap.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 5ef9dc8489dc -r 5641958916a7 sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Sun Feb 23 15:11:33 2020 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Sun Feb 23 15:12:18 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.161 2020/02/05 07:37:36 skrll Exp $ */
+/*     $NetBSD: pmap.h,v 1.162 2020/02/23 15:12:18 skrll Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -557,8 +557,6 @@
 #define l1pte_fpage_p(pde)     (((pde) & L1_TYPE_MASK) == L1_TYPE_F)
 #define l1pte_pa(pde)          ((pde) & L1_C_ADDR_MASK)
 #define l1pte_index(v)         ((vaddr_t)(v) >> L1_S_SHIFT)
-#define l1pte_pgindex(v)       l1pte_index((v) & L1_ADDR_BITS \
-               & ~(PAGE_SIZE * PAGE_SIZE / sizeof(pt_entry_t) - 1))
 
 static inline void
 l1pte_setone(pt_entry_t *pdep, pt_entry_t pde)



Home | Main Index | Thread Index | Old Index