Source-Changes-HG archive

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

[.joined/src/trunk]: .joined/src/sys/arch/iyonix/iyonix fix the build.



details:   https://anonhg.NetBSD.org/.joined/src/rev/ba652f09855d
branches:  trunk
changeset: 359407:ba652f09855d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 02 16:42:10 2022 +0000

description:
fix the build.

diffstat:

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

diffs (28 lines):

diff -r 1fb66326b098 -r ba652f09855d sys/arch/iyonix/iyonix/iyonix_machdep.c
--- a/sys/arch/iyonix/iyonix/iyonix_machdep.c   Sun Jan 02 16:40:46 2022 +0000
+++ b/sys/arch/iyonix/iyonix/iyonix_machdep.c   Sun Jan 02 16:42:10 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iyonix_machdep.c,v 1.30 2020/04/18 11:00:41 skrll Exp $        */
+/*     $NetBSD: iyonix_machdep.c,v 1.31 2022/01/02 16:42:10 christos Exp $     */
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.30 2020/04/18 11:00:41 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.31 2022/01/02 16:42:10 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -583,7 +583,9 @@
        valloc_pages(kernelstack, UPAGES);
 
        /* Allocate enough pages for cleaning the Mini-Data cache. */
+#ifdef DIAGNOSTIC
        KASSERT(xscale_minidata_clean_size <= PAGE_SIZE);
+#endif
        valloc_pages(minidataclean, 1);
 
 #ifdef VERBOSE_INIT_ARM



Home | Main Index | Thread Index | Old Index