aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2020-12-05 14:43:53 +0000
committerKeith Randall <khr@golang.org>2020-12-05 16:20:01 +0000
commit3b2a578166bdedd94110698c971ba8990771eb89 (patch)
tree37368dbcb277ba3d8605c530996d8773017dd659 /src/internal
parentbe9379f8a8e2bfd924966020d177552d01833fdb (diff)
downloadgo-3b2a578166bdedd94110698c971ba8990771eb89.tar.gz
go-3b2a578166bdedd94110698c971ba8990771eb89.zip
internal/cpu: fix typo in cpu_arm64.go
auxillary -> auxiliary Change-Id: I7c29c4a63d236c3688b8e4f5af70650d43cd89c0 GitHub-Last-Rev: d4a18c71a15cf0803bd847225ed5bf898c52e0f3 GitHub-Pull-Request: golang/go#43024 Reviewed-on: https://go-review.googlesource.com/c/go/+/275592 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/cpu/cpu_arm64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/cpu/cpu_arm64.go b/src/internal/cpu/cpu_arm64.go
index 4e9ea8ca96..a8f7b2b458 100644
--- a/src/internal/cpu/cpu_arm64.go
+++ b/src/internal/cpu/cpu_arm64.go
@@ -36,7 +36,7 @@ func doinit() {
switch GOOS {
case "linux", "android":
- // HWCap was populated by the runtime from the auxillary vector.
+ // HWCap was populated by the runtime from the auxiliary vector.
// Use HWCap information since reading aarch64 system registers
// is not supported in user space on older linux kernels.
ARM64.HasAES = isSet(HWCap, hwcap_AES)
@@ -103,7 +103,7 @@ func doinit() {
ARM64.HasATOMICS = true
}
default:
- // Other operating systems do not support reading HWCap from auxillary vector
+ // Other operating systems do not support reading HWCap from auxiliary vector
// or reading privileged aarch64 system registers in user space.
}
}