5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-14 17:50:26 +00:00
matterbridge/vendor/golang.org/x/sys/cpu/cpu_linux.go

17 lines
361 B
Go
Raw Normal View History

2019-05-30 10:20:56 +00:00
// 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.
2021-05-29 22:25:30 +00:00
//go:build !386 && !amd64 && !amd64p32 && !arm64
2020-01-09 20:02:56 +00:00
// +build !386,!amd64,!amd64p32,!arm64
2019-05-30 10:20:56 +00:00
package cpu
2020-09-04 21:29:13 +00:00
func archInit() {
2020-01-09 20:02:56 +00:00
if err := readHWCAP(); err != nil {
2019-06-16 21:33:25 +00:00
return
2019-05-30 10:20:56 +00:00
}
doinit()
2019-06-16 21:33:25 +00:00
Initialized = true
2019-05-30 10:20:56 +00:00
}