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/zaurus/zaurus fix the build (KASSERT)



details:   https://anonhg.NetBSD.org/.joined/src/rev/1fb66326b098
branches:  trunk
changeset: 359406:1fb66326b098
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 02 16:40:46 2022 +0000

description:
fix the build (KASSERT)

diffstat:

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

diffs (28 lines):

diff -r b77bccbf7e7d -r 1fb66326b098 sys/arch/zaurus/zaurus/machdep.c
--- a/sys/arch/zaurus/zaurus/machdep.c  Sun Jan 02 16:38:36 2022 +0000
+++ b/sys/arch/zaurus/zaurus/machdep.c  Sun Jan 02 16:40:46 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.48 2021/08/17 22:00:31 andvar Exp $      */
+/*     $NetBSD: machdep.c,v 1.49 2022/01/02 16:40:46 christos 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.48 2021/08/17 22:00:31 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.49 2022/01/02 16:40:46 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -856,7 +856,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 KLOADER



Home | Main Index | Thread Index | Old Index