From bcd50e4cd0e308c05fb52b35431c454d9cb07fff Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Sat, 25 Jan 2020 02:39:59 +1100 Subject: [PATCH] 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 --- src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go 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() {} -- 2.50.0