Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Change a few __unused to __diagused/__debugused



details:   https://anonhg.NetBSD.org/src/rev/136fe70e8713
branches:  trunk
changeset: 790849:136fe70e8713
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 25 09:46:10 2013 +0000

description:
Change a few __unused to __diagused/__debugused

diffstat:

 sys/arch/hp700/dev/pdc.c       |  6 +++---
 sys/arch/hp700/hp700/mainbus.c |  6 +++---
 sys/arch/hppa/hppa/trap.c      |  6 +++---
 sys/arch/m68k/m68k/bus_dma.c   |  6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (108 lines):

diff -r bc2ebdec02e4 -r 136fe70e8713 sys/arch/hp700/dev/pdc.c
--- a/sys/arch/hp700/dev/pdc.c  Fri Oct 25 09:25:32 2013 +0000
+++ b/sys/arch/hp700/dev/pdc.c  Fri Oct 25 09:46:10 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pdc.c,v 1.42 2013/10/19 13:29:10 skrll Exp $   */
+/*     $NetBSD: pdc.c,v 1.43 2013/10/25 09:46:10 martin Exp $  */
 
 /*     $OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $ */
 
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.42 2013/10/19 13:29:10 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.43 2013/10/25 09:46:10 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -460,7 +460,7 @@
 int
 pdccnlookc(dev_t dev, int *cp)
 {
-       int s, err __unused, l, pagezero_cookie;
+       int s, err __debugused, l, pagezero_cookie;
 
        s = splhigh();
        pagezero_cookie = hp700_pagezero_map();
diff -r bc2ebdec02e4 -r 136fe70e8713 sys/arch/hp700/hp700/mainbus.c
--- a/sys/arch/hp700/hp700/mainbus.c    Fri Oct 25 09:25:32 2013 +0000
+++ b/sys/arch/hp700/hp700/mainbus.c    Fri Oct 25 09:46:10 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.84 2013/10/19 13:15:53 skrll Exp $       */
+/*     $NetBSD: mainbus.c,v 1.85 2013/10/25 09:46:10 martin Exp $      */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.84 2013/10/19 13:15:53 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.85 2013/10/25 09:46:10 martin Exp $");
 
 #include "locators.h"
 #include "power.h"
@@ -1243,7 +1243,7 @@
        bmask = ~(map->_dm_boundary - 1);
 
        for (seg = *segp; buflen > 0; ) {
-               bool ok __unused;
+               bool ok __diagused;
                /*
                 * Get the physical address for this segment.
                 */
diff -r bc2ebdec02e4 -r 136fe70e8713 sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Fri Oct 25 09:25:32 2013 +0000
+++ b/sys/arch/hppa/hppa/trap.c Fri Oct 25 09:46:10 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.103 2013/10/19 14:02:29 skrll Exp $ */
+/*     $NetBSD: trap.c,v 1.104 2013/10/25 09:46:10 martin Exp $        */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.103 2013/10/19 14:02:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.104 2013/10/25 09:46:10 martin Exp $");
 
 /* #define INTRDEBUG */
 /* #define TRAPDEBUG */
@@ -1301,7 +1301,7 @@
 {
        ucontext_t *uc = arg;
        lwp_t *l = curlwp;
-       int error __unused;
+       int error __diagused;
 
        error = cpu_setmcontext(l, &uc->uc_mcontext, uc->uc_flags);
        KASSERT(error == 0);
diff -r bc2ebdec02e4 -r 136fe70e8713 sys/arch/m68k/m68k/bus_dma.c
--- a/sys/arch/m68k/m68k/bus_dma.c      Fri Oct 25 09:25:32 2013 +0000
+++ b/sys/arch/m68k/m68k/bus_dma.c      Fri Oct 25 09:46:10 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.34 2013/10/19 19:03:30 martin Exp $ */
+/* $NetBSD: bus_dma.c,v 1.35 2013/10/25 09:46:10 martin Exp $ */
 
 /*
  * This file was taken from from alpha/common/bus_dma.c
@@ -41,7 +41,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.34 2013/10/19 19:03:30 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.35 2013/10/25 09:46:10 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -138,7 +138,7 @@
        vaddr_t vaddr = (vaddr_t)buf;
        int seg, cacheable, coherent;
        pmap_t pmap;
-       bool rv __unused;
+       bool rv __diagused;
 
        coherent = BUS_DMA_COHERENT;
        lastaddr = *lastaddrp;



Home | Main Index | Thread Index | Old Index