Module Name: src Committed By: skrll Date: Fri May 26 06:40:47 UTC 2017
Modified Files: src/sys/uvm/pmap: pmap_tlb.c Log Message: Remove incorrect __diagused To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/uvm/pmap/pmap_tlb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/pmap/pmap_tlb.c diff -u src/sys/uvm/pmap/pmap_tlb.c:1.20 src/sys/uvm/pmap/pmap_tlb.c:1.21 --- src/sys/uvm/pmap/pmap_tlb.c:1.20 Fri May 26 06:38:56 2017 +++ src/sys/uvm/pmap/pmap_tlb.c Fri May 26 06:40:47 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap_tlb.c,v 1.20 2017/05/26 06:38:56 skrll Exp $ */ +/* $NetBSD: pmap_tlb.c,v 1.21 2017/05/26 06:40:47 skrll Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.20 2017/05/26 06:38:56 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.21 2017/05/26 06:40:47 skrll Exp $"); /* * Manages address spaces in a TLB. @@ -826,7 +826,7 @@ pmap_tlb_asid_alloc(struct pmap_tlb_info * a new one. */ if (__predict_true(TLBINFO_ASID_INUSE_P(ti, ti->ti_asid_hint))) { - const size_t nbpw __diagused = 8*sizeof(ti->ti_asid_bitmap[0]); + const size_t nbpw = 8 * sizeof(ti->ti_asid_bitmap[0]); size_t i; u_long bits; for (i = 0; (bits = ~ti->ti_asid_bitmap[i]) == 0; i++) {