github.com/code-reading/golang@v0.0.0-20220303082512-ba5bc0e589a3/go/src/runtime/os_linux_s390x.go (about) 1 // Copyright 2016 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 5 package runtime 6 7 import "internal/cpu" 8 9 func archauxv(tag, val uintptr) { 10 switch tag { 11 case _AT_HWCAP: 12 cpu.HWCap = uint(val) 13 } 14 } 15 16 func osArchInit() {}