Skip to content

Commit

Permalink
cpu: fix wrong cache line size of riscv64
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Tobias Klauser <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
mengzhuo committed Sep 13, 2023
1 parent fdc7ef4 commit 38ebf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/cpu_riscv64.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

package cpu

const cacheLineSize = 32
const cacheLineSize = 64

func initOptions() {}

0 comments on commit 38ebf41

Please sign in to comment.