Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Fix !DIAGNOSTIC build.



details:   https://anonhg.NetBSD.org/src/rev/6801eee14868
branches:  trunk
changeset: 331132:6801eee14868
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Aug 02 15:58:04 2014 +0000

description:
Fix !DIAGNOSTIC build.

diffstat:

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

diffs (29 lines):

diff -r 7797234f3428 -r 6801eee14868 sys/arch/powerpc/powerpc/fixup.c
--- a/sys/arch/powerpc/powerpc/fixup.c  Sat Aug 02 15:51:18 2014 +0000
+++ b/sys/arch/powerpc/powerpc/fixup.c  Sat Aug 02 15:58:04 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fixup.c,v 1.9 2014/08/01 21:57:22 matt Exp $   */
+/*     $NetBSD: fixup.c,v 1.10 2014/08/02 15:58:04 joerg Exp $ */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: fixup.c,v 1.9 2014/08/01 21:57:22 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fixup.c,v 1.10 2014/08/02 15:58:04 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -121,10 +121,8 @@
                        switch (i.i_any.i_opcd) {
                        case OPC_integer_31: {
                                const u_int rs = i.i_x.i_rs;
-#ifdef DIAGNOSTIC
                                const u_int ra = i.i_x.i_ra;
                                const u_int rb = i.i_x.i_rb;
-#endif
                                switch (i.i_x.i_xo) {
                                case OPC31_MFSPR: {
 #ifdef DIAGNOSTIC



Home | Main Index | Thread Index | Old Index