Module Name:    src
Committed By:   skrll
Date:           Sun Aug 16 09:37:30 UTC 2020

Modified Files:
        src/sys/arch/arm/include: param.h

Log Message:
Define COHERENCY_UNIT and CACHE_LINE_SIZE to fix arm builds.

The recent change to cpu.h and struct cpu_info needs an early definition
for the ARM_INTR_IMPLs that want to inline the spl functions and get
{,set_}curcpl() from cpu.h


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/arm/include/param.h

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/arm/include/param.h
diff -u src/sys/arch/arm/include/param.h:1.22 src/sys/arch/arm/include/param.h:1.23
--- src/sys/arch/arm/include/param.h:1.22	Mon Jan  7 22:00:30 2019
+++ src/sys/arch/arm/include/param.h	Sun Aug 16 09:37:30 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.22 2019/01/07 22:00:30 jdolecek Exp $	*/
+/*	$NetBSD: param.h,v 1.23 2020/08/16 09:37:30 skrll Exp $	*/
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -186,4 +186,7 @@
 #endif
 #endif /* _KERNEL */
 
+#define COHERENCY_UNIT		64
+#define CACHE_LINE_SIZE		64
+
 #endif /* _ARM_PARAM_H_ */

Reply via email to