Module Name:    src
Committed By:   joerg
Date:           Sat Aug  2 15:58:04 UTC 2014

Modified Files:
        src/sys/arch/powerpc/powerpc: fixup.c

Log Message:
Fix !DIAGNOSTIC build.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/powerpc/fixup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/powerpc/fixup.c
diff -u src/sys/arch/powerpc/powerpc/fixup.c:1.9 src/sys/arch/powerpc/powerpc/fixup.c:1.10
--- src/sys/arch/powerpc/powerpc/fixup.c:1.9	Fri Aug  1 21:57:22 2014
+++ src/sys/arch/powerpc/powerpc/fixup.c	Sat Aug  2 15:58:04 2014
@@ -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 @@ powerpc_fixup_stubs(uint32_t *start, uin
 			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

Reply via email to