]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: remove platform specific prefix from cpu hwcap variables
authorMartin Möhrmann <moehrmann@google.com>
Sun, 4 Feb 2018 19:57:56 +0000 (20:57 +0100)
committerMartin Möhrmann <moehrmann@google.com>
Tue, 1 May 2018 15:50:19 +0000 (15:50 +0000)
commitd46980995be7a88713b27f829fb9f2cd9b307fa7
treea371919c75d194a27015378779ebc095b972ec24
parent5d9c78201f0f226b0b8c7ece63f6731e168efb09
internal/cpu: remove platform specific prefix from cpu hwcap variables

Go runtime currently only populates hwcap for ppc64 and arm64.
While the interpretation of hwcap is platform specific the hwcap
information is generally available on linux.

Changing the runtime variable name to cpu_hwcap for cpu.hwcap makes it
consistent with the general naming of runtime variables that are linked
to other packages.

Change-Id: I1e1f932a73ed624a219b9298faafbb6355e47ada
Reviewed-on: https://go-review.googlesource.com/94757
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/internal/cpu/cpu_arm64.go
src/internal/cpu/cpu_ppc64x.go
src/runtime/os_linux_arm64.go
src/runtime/os_linux_ppc64x.go