Module Name:    src
Committed By:   skrll
Date:           Thu Dec  6 18:36:06 UTC 2018

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

Log Message:
Expose CACHE_LINE_SIZE (and COHERENCY_UNIT) so that fstat can work


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/aarch64/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/aarch64/include/param.h
diff -u src/sys/arch/aarch64/include/param.h:1.7 src/sys/arch/aarch64/include/param.h:1.8
--- src/sys/arch/aarch64/include/param.h:1.7	Sun Nov 18 15:52:03 2018
+++ src/sys/arch/aarch64/include/param.h	Thu Dec  6 18:36:06 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.7 2018/11/18 15:52:03 skrll Exp $ */
+/* $NetBSD: param.h,v 1.8 2018/12/06 18:36:06 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -134,12 +134,10 @@
 #define MSGBUFSIZE		16384	/* default message buffer size */
 #endif
 
-#ifdef _KERNEL
+#define COHERENCY_UNIT		128
+#define CACHE_LINE_SIZE		128
 
-#if defined(CPU_THUNDERX)
-#define COHERENCY_UNIT	128
-#define CACHE_LINE_SIZE	128
-#endif
+#ifdef _KERNEL
 
 #ifndef __HIDE_DELAY
 void delay(unsigned int);

Reply via email to