Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm sprinkle __diagused to fix the powerpc build, which ...



details:   https://anonhg.NetBSD.org/src/rev/e598c981be81
branches:  trunk
changeset: 824106:e598c981be81
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 23 22:18:17 2017 +0000

description:
sprinkle __diagused to fix the powerpc build, which is not DIAGNOSTIC.

diffstat:

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

diffs (29 lines):

diff -r 54298d5058bb -r e598c981be81 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Tue May 23 16:01:46 2017 +0000
+++ b/sys/uvm/uvm_map.c Tue May 23 22:18:17 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.349 2017/05/20 07:27:15 chs Exp $        */
+/*     $NetBSD: uvm_map.c,v 1.350 2017/05/23 22:18:17 christos 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.349 2017/05/20 07:27:15 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.350 2017/05/23 22:18:17 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pax.h"
@@ -1326,8 +1326,8 @@
                KASSERT(flags & UVM_FLAG_FIXED);
                uvm_unmap_remove(map, start, start + size, &dead_entries, 0);
 #ifdef DEBUG
-               struct vm_map_entry *tmp_entry;
-               bool rv;
+               struct vm_map_entry *tmp_entry __diagused;
+               bool rv __diagused;
 
                rv = uvm_map_lookup_entry(map, start, &tmp_entry);
                KASSERT(!rv);



Home | Main Index | Thread Index | Old Index