diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-02-26 05:52:03 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-02-26 05:52:03 +0000 |
commit | 5e8178095f4745607210bbd78347dcd05506c915 (patch) | |
tree | cdc70aef4cefaeac38536925572f4ae6daaab36d /sys | |
parent | 5ceb5d2b1d04068419aca7f58eba838224e798c3 (diff) |
Define cache line size for the per-cpu API.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/octeon/include/cpu.h | 4 |
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. |