Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap Don't use %jx for 0 or 1 - just use %jd in UVMH...
details: https://anonhg.NetBSD.org/src/rev/6d5eeab06d7a
branches: trunk
changeset: 1019528:6d5eeab06d7a
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Mar 13 15:29:13 2021 +0000
description:
Don't use %jx for 0 or 1 - just use %jd in UVMHIST_LOG format.
diffstat:
sys/uvm/pmap/pmap.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 868ded63fad0 -r 6d5eeab06d7a sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c Sat Mar 13 13:55:42 2021 +0000
+++ b/sys/uvm/pmap/pmap.c Sat Mar 13 15:29:13 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.58 2020/12/20 16:38:26 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.59 2021/03/13 15:29:13 skrll Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.58 2020/12/20 16:38:26 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.59 2021/03/13 15:29:13 skrll Exp $");
/*
* Manages physical address maps.
@@ -950,7 +950,7 @@
pmap_tlb_miss_lock_exit();
kpreempt_enable();
- UVMHIST_LOG(pmaphist, " <-- done (kernel=%jx)",
+ UVMHIST_LOG(pmaphist, " <-- done (kernel=%jd)",
(pmap == pmap_kernel() ? 1 : 0), 0, 0, 0);
}
@@ -969,7 +969,7 @@
const bool is_kernel_pmap_p = (pmap == pmap_kernel());
UVMHIST_FUNC(__func__);
- UVMHIST_CALLARGS(pmaphist, "(pmap=%#jx kernel=%jx va=%#jx..%#jx)",
+ UVMHIST_CALLARGS(pmaphist, "(pmap=%#jx kernel=%jd va=%#jx..%#jx)",
(uintptr_t)pmap, (pmap == pmap_kernel() ? 1 : 0), sva, eva);
UVMHIST_LOG(pmaphist, "ptep=%#jx, flags(npte)=%#jx)",
(uintptr_t)ptep, flags, 0, 0);
@@ -1113,7 +1113,7 @@
const vm_prot_t prot = (flags & VM_PROT_ALL);
UVMHIST_FUNC(__func__);
- UVMHIST_CALLARGS(pmaphist, "(pmap=%#jx kernel=%jx va=%#jx..%#jx)",
+ UVMHIST_CALLARGS(pmaphist, "(pmap=%#jx kernel=%jd va=%#jx..%#jx)",
(uintptr_t)pmap, (pmap == pmap_kernel() ? 1 : 0), sva, eva);
UVMHIST_LOG(pmaphist, "ptep=%#jx, flags(npte)=%#jx)",
(uintptr_t)ptep, flags, 0, 0);
Home |
Main Index |
Thread Index |
Old Index