You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cpu_linux.go 312B

123456789101112131415
  1. // Copyright 2018 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build !386,!amd64,!amd64p32,!arm64
  5. package cpu
  6. func archInit() {
  7. if err := readHWCAP(); err != nil {
  8. return
  9. }
  10. doinit()
  11. Initialized = true
  12. }