Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 tag a variable with __diagused



details:   https://anonhg.NetBSD.org/src/rev/4041bdc2f56f
branches:  trunk
changeset: 328320:4041bdc2f56f
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Mar 31 01:49:04 2014 +0000

description:
tag a variable with __diagused

diffstat:

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

diffs (27 lines):

diff -r 7a370daa2966 -r 4041bdc2f56f sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Mon Mar 31 01:48:37 2014 +0000
+++ b/sys/arch/arm/arm32/pmap.c Mon Mar 31 01:49:04 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.272 2014/03/30 15:55:08 matt Exp $  */
+/*     $NetBSD: pmap.c,v 1.273 2014/03/31 01:49:04 matt Exp $  */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -216,7 +216,7 @@
 #include <arm/locore.h>
 //#include <arm/arm32/katelib.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.272 2014/03/30 15:55:08 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.273 2014/03/31 01:49:04 matt Exp $");
 
 //#define PMAP_DEBUG
 #ifdef PMAP_DEBUG
@@ -1607,7 +1607,7 @@
        l2b->l2b_kva = NULL;
 
        pd_entry_t * const pdep = pmap_l1_kva(pm) + l1slot;
-       pd_entry_t pde = *pdep;
+       pd_entry_t pde __diagused = *pdep;
 
 #ifdef ARM_MMU_EXTENDED
        /*



Home | Main Index | Thread Index | Old Index