mirror of
https://github.com/golang/go
synced 2024-11-18 17:54:57 -07:00
internal/cpu: fix wrong cache line size of riscv64
All of riscv CPU using 64B for cache-line size. i.e. U540 of Hifive Unleashed (https://www.sifive.com/boards/hifive-unleashed) Change-Id: I0d72d88ac026f45383c3b3eb3a77233d3c2e4004 Reviewed-on: https://go-review.googlesource.com/c/go/+/526659 Run-TryBot: M Zhuo <mzh@golangcn.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
8221f90f13
commit
5e31f78c8a
@ -4,7 +4,7 @@
|
||||
|
||||
package cpu
|
||||
|
||||
const CacheLinePadSize = 32
|
||||
const CacheLinePadSize = 64
|
||||
|
||||
func doinit() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user