Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/zaurus/zaurus Fix build with VERBOSE_INIT_ARM witho...



details:   https://anonhg.NetBSD.org/src/rev/72f0beb6f0de
branches:  trunk
changeset: 460798:72f0beb6f0de
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Nov 04 10:36:18 2019 +0000

description:
Fix build with VERBOSE_INIT_ARM without DIAGNOSTIC.

diffstat:

 sys/arch/zaurus/zaurus/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 823e70a1ddbe -r 72f0beb6f0de sys/arch/zaurus/zaurus/machdep.c
--- a/sys/arch/zaurus/zaurus/machdep.c  Mon Nov 04 10:02:39 2019 +0000
+++ b/sys/arch/zaurus/zaurus/machdep.c  Mon Nov 04 10:36:18 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.43 2019/10/19 14:42:30 tsutsui Exp $     */
+/*     $NetBSD: machdep.c,v 1.44 2019/11/04 10:36:18 tsutsui Exp $     */
 /*     $OpenBSD: zaurus_machdep.c,v 1.25 2006/06/20 18:24:04 todd Exp $        */
 
 /*
@@ -107,7 +107,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.43 2019/10/19 14:42:30 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.44 2019/11/04 10:36:18 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -635,7 +635,7 @@
 vaddr_t
 initarm(void *arg)
 {
-#ifdef DIAGNOSTIC
+#if defined(DIAGNOSTIC) || defined(VERBOSE_INIT_ARM)
        extern vsize_t xscale_minidata_clean_size; /* used in KASSERT */
 #endif
        extern vaddr_t xscale_cache_clean_addr;



Home | Main Index | Thread Index | Old Index