Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 Mark L1e_idx as __diagused, it is only refe...



details:   https://anonhg.NetBSD.org/src/rev/8cd560cdf746
branches:  trunk
changeset: 828816:8cd560cdf746
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jan 05 09:13:48 2018 +0000

description:
Mark L1e_idx as __diagused, it is only referenced in a KASSERT.

diffstat:

 sys/arch/x86/x86/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fc160fffcda9 -r 8cd560cdf746 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Fri Jan 05 08:04:20 2018 +0000
+++ b/sys/arch/x86/x86/pmap.c   Fri Jan 05 09:13:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.276 2018/01/05 08:04:21 maxv Exp $  */
+/*     $NetBSD: pmap.c,v 1.277 2018/01/05 09:13:48 martin Exp $        */
 
 /*
  * Copyright (c) 2008, 2010, 2016, 2017 The NetBSD Foundation, Inc.
@@ -170,7 +170,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.276 2018/01/05 08:04:21 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.277 2018/01/05 09:13:48 martin Exp $");
 
 #include "opt_user_ldt.h"
 #include "opt_lockdebug.h"
@@ -1460,7 +1460,7 @@
 {
        const vaddr_t startva = PMAP_PCPU_BASE;
        size_t nL4e, nL3e, nL2e, nL1e;
-       size_t L4e_idx, L3e_idx, L2e_idx, L1e_idx;
+       size_t L4e_idx, L3e_idx, L2e_idx, L1e_idx __diagused;
        paddr_t pa;
        vaddr_t endva;
        vaddr_t tmpva;



Home | Main Index | Thread Index | Old Index