From 38ebf4150f9b8b3b3345ee2a1f7cfb0d774567f8 Mon Sep 17 00:00:00 2001 From: Meng Zhuo Date: Fri, 8 Sep 2023 18:06:35 +0800 Subject: [PATCH] cpu: fix wrong cache line size of riscv64 This CL follows CL526659 as cache line should be 64 Bytes Change-Id: Id3a49dbfbfad6aeb439eb5e585fd2d6228a3d3ed Reviewed-on: https://go-review.googlesource.com/c/sys/+/526935 Reviewed-by: Heschi Kreinick Reviewed-by: Tobias Klauser LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor --- cpu/cpu_riscv64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cpu_riscv64.go b/cpu/cpu_riscv64.go index bd6c128af..ff7da60eb 100644 --- a/cpu/cpu_riscv64.go +++ b/cpu/cpu_riscv64.go @@ -7,6 +7,6 @@ package cpu -const cacheLineSize = 32 +const cacheLineSize = 64 func initOptions() {}