1
0
mirror of https://github.com/golang/go synced 2024-10-02 02:28:32 -06: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:
Tobias Klauser 2018-03-09 13:27:09 +01:00 committed by Tobias Klauser
parent ad466d8b87
commit 91f74069ef

View File

@ -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() {