Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm Mark a diagnostic-only variable
details: https://anonhg.NetBSD.org/src/rev/62d67fde3d3a
branches: trunk
changeset: 326398:62d67fde3d3a
user: martin <martin%NetBSD.org@localhost>
date: Tue Jan 28 13:18:42 2014 +0000
description:
Mark a diagnostic-only variable
diffstat:
sys/arch/arm/marvell/orion.c | 6 +++---
sys/arch/arm/pic/pic.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 20d03c0cf77f -r 62d67fde3d3a sys/arch/arm/marvell/orion.c
--- a/sys/arch/arm/marvell/orion.c Tue Jan 28 13:17:19 2014 +0000
+++ b/sys/arch/arm/marvell/orion.c Tue Jan 28 13:18:42 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: orion.c,v 1.4 2012/02/12 16:34:07 matt Exp $ */
+/* $NetBSD: orion.c,v 1.5 2014/01/28 13:18:42 martin Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: orion.c,v 1.4 2012/02/12 16:34:07 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: orion.c,v 1.5 2014/01/28 13:18:42 martin Exp $");
#define _INTR_PRIVATE
@@ -109,7 +109,7 @@
orion_intr_init(void)
{
extern struct pic_softc mvsoc_bridge_pic;
- void *ih;
+ void *ih __diagused;
pic_add(&orion_pic, 0);
diff -r 20d03c0cf77f -r 62d67fde3d3a sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c Tue Jan 28 13:17:19 2014 +0000
+++ b/sys/arch/arm/pic/pic.c Tue Jan 28 13:18:42 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pic.c,v 1.18 2013/12/08 14:37:01 skrll Exp $ */
+/* $NetBSD: pic.c,v 1.19 2014/01/28 13:20:30 martin Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -28,7 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.18 2013/12/08 14:37:01 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.19 2014/01/28 13:20:30 martin Exp $");
#define _INTR_PRIVATE
#include <sys/param.h>
@@ -288,7 +288,7 @@
uint32_t pending_irqs;
uint32_t blocked_irqs;
int irq;
- bool progress = false;
+ bool progress __diagused = false;
KASSERT(pic->pic_pending_ipls & ipl_mask);
Home |
Main Index |
Thread Index |
Old Index