k3s/vendor/golang.org/x/sys/cpu/cpu_linux.go

16 lines
312 B
Go
Raw Normal View History

2019-09-05 18:55:53 +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.
2020-01-21 18:14:47 +00:00
// +build !386,!amd64,!amd64p32,!arm64
2019-09-05 18:55:53 +00:00
package cpu
2020-08-10 17:43:49 +00:00
func archInit() {
2020-01-21 18:14:47 +00:00
if err := readHWCAP(); err != nil {
2019-09-25 02:29:12 +00:00
return
2019-09-05 18:55:53 +00:00
}
doinit()
2019-09-25 02:29:12 +00:00
Initialized = true
2019-09-05 18:55:53 +00:00
}