3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-25 05:19:25 +01:00
ergo/vendor/golang.org/x/sys/cpu/cpu_linux.go

16 lines
312 B
Go
Raw Normal View History

// Copyright 2018 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.
2020-06-01 06:45:05 +02:00
// +build !386,!amd64,!amd64p32,!arm64
package cpu
2020-09-06 07:23:02 +02:00
func archInit() {
2020-06-01 06:45:05 +02:00
if err := readHWCAP(); err != nil {
return
}
doinit()
Initialized = true
}