Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 pg->phys_addr -> VM_PAGE_TO_PHYS(pg)



details:   https://anonhg.NetBSD.org/src/rev/bc89c4319961
branches:  trunk
changeset: 847110:bc89c4319961
user:      ad <ad%NetBSD.org@localhost>
date:      Tue Dec 10 18:08:32 2019 +0000

description:
pg->phys_addr -> VM_PAGE_TO_PHYS(pg)

diffstat:

 sys/arch/aarch64/aarch64/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bc516d1ad12d -r bc89c4319961 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Tue Dec 10 18:06:50 2019 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Tue Dec 10 18:08:32 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.50 2019/11/14 17:09:22 maxv Exp $   */
+/*     $NetBSD: pmap.c,v 1.51 2019/12/10 18:08:32 ad Exp $     */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.50 2019/11/14 17:09:22 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.51 2019/12/10 18:08:32 ad Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -1034,7 +1034,7 @@
        pr(" pg->loan_count = %u\n", pg->loan_count);
        pr(" pg->wire_count = %u\n", pg->wire_count);
        pr(" pg->pqflags    = %u\n", pg->pqflags);
-       pr(" pg->phys_addr  = %016lx\n", pg->phys_addr);
+       pr(" pg->phys_addr  = %016lx\n", VM_PAGE_TO_PHYS(pg));
 }
 
 static void



Home | Main Index | Thread Index | Old Index