From 91f74069ef442f8d963f43cc898af8af3e8b8d0e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 9 Mar 2018 13:27:09 +0100 Subject: [PATCH] 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 --- src/runtime/os_linux_arm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/os_linux_arm.go b/src/runtime/os_linux_arm.go index 7c925d74b5..a0e2c081b9 100644 --- a/src/runtime/os_linux_arm.go +++ b/src/runtime/os_linux_arm.go @@ -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() {