aboutsummaryrefslogtreecommitdiff
path: root/src/vendor
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2020-01-25 02:39:59 +1100
committerJoel Sing <joel@sing.id.au>2020-01-25 16:31:46 +0000
commitbcd50e4cd0e308c05fb52b35431c454d9cb07fff (patch)
treebc8e7bb3e8bba3f610e46e0a0a06f40bb56c9c0f /src/vendor
parent7f331e0e1735449380299654dc915fb5c8fe84ab (diff)
downloadgo-bcd50e4cd0e308c05fb52b35431c454d9cb07fff.tar.gz
go-bcd50e4cd0e308c05fb52b35431c454d9cb07fff.zip
vendor: provide golang.org/x/sys/cpu/cpu_riscv64.go
Manually provide golang.org/x/sys/cpu/cpu_riscv64.go until such time as this code can be updated, post release. This already exists in x/sys/cpu via: https://go-review.googlesource.com/c/sys/+/206860 Update #27532 Change-Id: I57d598ef737642f9c3aa7b280c6c680477ae7633 Reviewed-on: https://go-review.googlesource.com/c/go/+/216261 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/vendor')
-rw-r--r--src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go b/src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go
new file mode 100644
index 0000000000..fe9feb7980
--- /dev/null
+++ b/src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go
@@ -0,0 +1,11 @@
+// Copyright 2020 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build riscv64
+
+package cpu
+
+const cacheLineSize = 32
+
+func doinit() {}