Skip to content

Commit 91f7406

Browse files
committed
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 <[email protected]>
1 parent ad466d8 commit 91f7406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/os_linux_arm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const (
1616

1717
var randomNumber uint32
1818
var armArch uint8 = 6 // we default to ARMv6
19-
var hwcap uint32 // set by setup_auxv
19+
var hwcap uint32 // set by archauxv
2020
var hardDiv bool // set if a hardware divider is available
2121

2222
func checkgoarm() {

0 commit comments

Comments
 (0)