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 Fix another UVMHIST so it doesn't u...



details:   https://anonhg.NetBSD.org/src/rev/f47f40e4fe52
branches:  trunk
changeset: 936941:f47f40e4fe52
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Aug 09 09:11:41 2020 +0000

description:
Fix another UVMHIST so it doesn't use %s

diffstat:

 sys/arch/aarch64/aarch64/pmap.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 8a70cb70dd1b -r f47f40e4fe52 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Sun Aug 09 09:07:54 2020 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Sun Aug 09 09:11:41 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.84 2020/07/16 11:36:35 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.85 2020/08/09 09:11:41 skrll 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.84 2020/07/16 11:36:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.85 2020/08/09 09:11:41 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -2236,7 +2236,6 @@
        UVMHIST_LOG(pmaphist, "pm=%p, va=%016lx, accessprot=%08x",
            pm, va, accessprot, 0);
 
-
 #if 0
        KASSERT_PM_ADDR(pm, va);
 #else
@@ -2246,8 +2245,8 @@
            !(IN_RANGE(va, VM_MIN_ADDRESS, VM_MAX_ADDRESS)))) {
 
                UVMHIST_LOG(pmaphist,
-                   "pmap space and va mismatch: pm=%s, va=%016lx",
-                   (pm == pmap_kernel()) ? "kernel" : "user", va, 0, 0);
+                   "pmap space and va mismatch: kernel=%jd, va=%016lx",
+                   pm == pmap_kernel(), va, 0, 0);
                return false;
        }
 #endif



Home | Main Index | Thread Index | Old Index