Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Fix UVMHIST build



details:   https://anonhg.NetBSD.org/src/rev/da1f2fb58df4
branches:  trunk
changeset: 970971:da1f2fb58df4
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Apr 09 06:47:50 2020 +0000

description:
Fix UVMHIST build

diffstat:

 sys/arch/mips/mips/trap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r c1e77ad60b7d -r da1f2fb58df4 sys/arch/mips/mips/trap.c
--- a/sys/arch/mips/mips/trap.c Thu Apr 09 02:07:01 2020 +0000
+++ b/sys/arch/mips/mips/trap.c Thu Apr 09 06:47:50 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.251 2020/03/10 04:04:45 thorpej Exp $       */
+/*     $NetBSD: trap.c,v 1.252 2020/04/09 06:47:50 skrll Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.251 2020/03/10 04:04:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.252 2020/04/09 06:47:50 skrll Exp $");
 
 #include "opt_cputype.h"       /* which mips CPU levels do we support? */
 #include "opt_ddb.h"
@@ -279,8 +279,8 @@
                        }
                }
                UVMHIST_FUNC(__func__); UVMHIST_CALLED(maphist);
-               UVMHIST_LOG(maphist, "%ctlbmod(va=%#lx, pc=%#lx, tf=%p)",
-                   user_p ? 'u' : 'k', vaddr, pc, tf);
+               UVMHIST_LOG(maphist, "%ctlbmod(va=%#lx, pc=%#lx, tf=%#jx)",
+                   user_p ? 'u' : 'k', vaddr, pc, (uintptr_t)tf);
                if (!pte_modified_p(pte)) {
                        pte |= mips_pg_m_bit();
 #ifdef MULTIPROCESSOR



Home | Main Index | Thread Index | Old Index