diff --git a/cpu/cpu_arm64.go b/cpu/cpu_linux_arm64.go similarity index 100% rename from cpu/cpu_arm64.go rename to cpu/cpu_linux_arm64.go diff --git a/cpu/cpu_other_arm64.go b/cpu/cpu_other_arm64.go new file mode 100644 index 00000000..dd1e76dc --- /dev/null +++ b/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() {}