Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/obs405 Fix build without DEBUG.



details:   https://anonhg.NetBSD.org/src/rev/259edb171207
branches:  trunk
changeset: 1023354:259edb171207
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Sep 04 13:36:07 2021 +0000

description:
Fix build without DEBUG.

diffstat:

 sys/arch/evbppc/obs405/obs200_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 64c2ac901a34 -r 259edb171207 sys/arch/evbppc/obs405/obs200_machdep.c
--- a/sys/arch/evbppc/obs405/obs200_machdep.c   Sat Sep 04 13:27:59 2021 +0000
+++ b/sys/arch/evbppc/obs405/obs200_machdep.c   Sat Sep 04 13:36:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obs200_machdep.c,v 1.24 2021/08/03 09:25:44 rin Exp $  */
+/*     $NetBSD: obs200_machdep.c,v 1.25 2021/09/04 13:36:07 rin Exp $  */
 /*     Original: machdep.c,v 1.3 2005/01/17 17:24:09 shige Exp */
 
 /*
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs200_machdep.c,v 1.24 2021/08/03 09:25:44 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs200_machdep.c,v 1.25 2021/09/04 13:36:07 rin Exp $");
 
 #include "opt_ddb.h"
 
@@ -120,8 +120,8 @@
 void
 initppc(vaddr_t startkernel, vaddr_t endkernel, char *args, void *info_block)
 {
-       u_int32_t pllmode;
-       u_int32_t psr;
+       u_int32_t pllmode __debugused;
+       u_int32_t psr __debugused;
        vaddr_t va;
        u_int memsize;
 



Home | Main Index | Thread Index | Old Index