mirror of
https://github.com/golang/go
synced 2024-11-19 13:04:45 -07:00
runtime: fix comment for hwcap on linux/arm
hwcap is set in archauxv, setup_auxv no longer exists. Change-Id: I0fc9393e0c1c45192e0eff4715e9bdd69fab2653 Reviewed-on: https://go-review.googlesource.com/99779 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
ad466d8b87
commit
91f74069ef
@ -16,7 +16,7 @@ const (
|
||||
|
||||
var randomNumber uint32
|
||||
var armArch uint8 = 6 // we default to ARMv6
|
||||
var hwcap uint32 // set by setup_auxv
|
||||
var hwcap uint32 // set by archauxv
|
||||
var hardDiv bool // set if a hardware divider is available
|
||||
|
||||
func checkgoarm() {
|
||||
|
Loading…
Reference in New Issue
Block a user