Remove incorrect __diagused
This commit is contained in:
parent
a49520abfd
commit
194ed3d72f
|
@ -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 *ti, pmap_t pm,
|
|||
* 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++) {
|
||||
|
|
Loading…
Reference in New Issue