Module Name: src
Committed By: christos
Date: Sun Jan 2 16:42:10 UTC 2022
Modified Files:
src/sys/arch/iyonix/iyonix: iyonix_machdep.c
Log Message:
fix the build.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/iyonix/iyonix/iyonix_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/iyonix/iyonix/iyonix_machdep.c
diff -u src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.30 src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.31
--- src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.30 Sat Apr 18 07:00:41 2020
+++ src/sys/arch/iyonix/iyonix/iyonix_machdep.c Sun Jan 2 11:42:10 2022
@@ -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 @@ 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 VERBOSE_INIT_ARM