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/efc2788b85a6
branches:  trunk
changeset: 745157:efc2788b85a6
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 1e5e4147085b -r efc2788b85a6 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