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 __USE a debugging variable



details:   https://anonhg.NetBSD.org/src/rev/038a406f7a49
branches:  trunk
changeset: 790567:038a406f7a49
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 17 20:58:55 2013 +0000

description:
__USE a debugging variable

diffstat:

 sys/arch/x86/x86/ipmi.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c9ec7ea695c2 -r 038a406f7a49 sys/arch/x86/x86/ipmi.c
--- a/sys/arch/x86/x86/ipmi.c   Thu Oct 17 20:57:58 2013 +0000
+++ b/sys/arch/x86/x86/ipmi.c   Thu Oct 17 20:58:55 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipmi.c,v 1.55 2013/08/12 15:40:34 yamt Exp $ */
+/*     $NetBSD: ipmi.c,v 1.56 2013/10/17 20:58:55 christos Exp $ */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -52,7 +52,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.55 2013/08/12 15:40:34 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.56 2013/10/17 20:58:55 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -788,6 +788,8 @@
        printf(" C/D: %2x\n", v & KCS_CD);
        printf(" IBF: %2x\n", v & KCS_IBF);
        printf(" OBF: %2x\n", v & KCS_OBF);
+#else
+       __USE(v);
 #endif
        return (0);
 }



Home | Main Index | Thread Index | Old Index