summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-02-26 05:52:03 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-02-26 05:52:03 +0000
commit5e8178095f4745607210bbd78347dcd05506c915 (patch)
treecdc70aef4cefaeac38536925572f4ae6daaab36d /sys
parent5ceb5d2b1d04068419aca7f58eba838224e798c3 (diff)
Define cache line size for the per-cpu API.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/octeon/include/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/octeon/include/cpu.h b/sys/arch/octeon/include/cpu.h
index 6e6963ba442..635491e2ea7 100644
--- a/sys/arch/octeon/include/cpu.h
+++ b/sys/arch/octeon/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.7 2016/01/05 05:27:54 visa Exp $ */
+/* $OpenBSD: cpu.h,v 1.8 2017/02/26 05:52:02 visa Exp $ */
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -57,6 +57,8 @@ void hw_ipi_intr_set(u_long);
void hw_ipi_intr_clear(u_long);
#endif /* MULTIPROCESSOR && !_LOCORE */
+#define CACHELINESIZE 128
+
/*
* No need to use the per-cpu_info function pointers, as we only support
* one processor type.