Module Name: src
Committed By: christos
Date: Sun Jan 2 16:40:46 UTC 2022
Modified Files:
src/sys/arch/zaurus/zaurus: machdep.c
Log Message:
fix the build (KASSERT)
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/zaurus/zaurus/machdep.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/zaurus/zaurus/machdep.c
diff -u src/sys/arch/zaurus/zaurus/machdep.c:1.48 src/sys/arch/zaurus/zaurus/machdep.c:1.49
--- src/sys/arch/zaurus/zaurus/machdep.c:1.48 Tue Aug 17 18:00:31 2021
+++ src/sys/arch/zaurus/zaurus/machdep.c Sun Jan 2 11:40:46 2022
@@ -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 @@ initarm(void *arg)
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