Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Fix UVMHIST_LOG compile on 32bit platforms



details:   https://anonhg.NetBSD.org/src/rev/ae64f9a0e11d
branches:  trunk
changeset: 1009275:ae64f9a0e11d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Apr 19 08:59:53 2020 +0000

description:
Fix UVMHIST_LOG compile on 32bit platforms

diffstat:

 sys/uvm/uvm_map.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8099ecb6659f -r ae64f9a0e11d sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Sun Apr 19 08:50:54 2020 +0000
+++ b/sys/uvm/uvm_map.c Sun Apr 19 08:59:53 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.380 2020/04/18 17:22:26 riastradh Exp $  */
+/*     $NetBSD: uvm_map.c,v 1.381 2020/04/19 08:59:53 skrll Exp $      */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.380 2020/04/18 17:22:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.381 2020/04/19 08:59:53 skrll Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pax.h"
@@ -4960,7 +4960,7 @@
        if (result) {
                UVMHIST_LOG(maphist,
                    "<- done OK (type=%jd,owner=#%jx,offset=%jx)",
-                   voaddr->type, voaddr->uobj, voaddr->offset, 0);
+                   voaddr->type, (uintptr_t)voaddr->uobj, voaddr->offset, 0);
        } else {
                UVMHIST_LOG(maphist,"<- done (failed)",0,0,0,0);
        }



Home | Main Index | Thread Index | Old Index