diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-02-15 06:51:34 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-02-19 16:59:40 +0800 |
commit | fe5258b41ea2e363aea1494dcf52754fea9b42db (patch) | |
tree | 7c290dfe3fe04b64dc6b303a674a77e248ee87eb /vendor/golang.org | |
parent | d9be33766930b6978629a02643a8c83265a3006b (diff) | |
download | dexon-fe5258b41ea2e363aea1494dcf52754fea9b42db.tar.gz dexon-fe5258b41ea2e363aea1494dcf52754fea9b42db.tar.zst dexon-fe5258b41ea2e363aea1494dcf52754fea9b42db.zip |
vendor: pull in upstream syscall fixes for non-linux/arm64
(cherry picked from commit 9d3ea8df1c70be24e5814e8338dfc9078b8ccafe)
Diffstat (limited to 'vendor/golang.org')
-rw-r--r-- | vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go (renamed from vendor/golang.org/x/sys/cpu/cpu_arm64.go) | 0 | ||||
-rw-r--r-- | vendor/golang.org/x/sys/cpu/cpu_other_arm64.go | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/cpu/cpu_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go index 02ed58b30..02ed58b30 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go diff --git a/vendor/golang.org/x/sys/cpu/cpu_other_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_other_arm64.go new file mode 100644 index 000000000..dd1e76dc9 --- /dev/null +++ b/vendor/golang.org/x/sys/cpu/cpu_other_arm64.go @@ -0,0 +1,11 @@ +// Copyright 2019 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 !linux,arm64 + +package cpu + +const cacheLineSize = 64 + +func doinit() {} |