Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap Remove incorrect __diagused
details: https://anonhg.NetBSD.org/src/rev/26bece83e521
branches: trunk
changeset: 353860:26bece83e521
user: skrll <skrll%NetBSD.org@localhost>
date: Fri May 26 06:40:47 2017 +0000
description:
Remove incorrect __diagused
diffstat:
sys/uvm/pmap/pmap_tlb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 339318cc432e -r 26bece83e521 sys/uvm/pmap/pmap_tlb.c
--- a/sys/uvm/pmap/pmap_tlb.c Fri May 26 06:38:56 2017 +0000
+++ b/sys/uvm/pmap/pmap_tlb.c Fri May 26 06:40:47 2017 +0000
@@ -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 @@
* 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++) {
Home |
Main Index |
Thread Index |
Old Index