Skip to content

Commit 3b2a578

Browse files
eltociearrandall77
authored andcommitted
internal/cpu: fix typo in cpu_arm64.go
auxillary -> auxiliary Change-Id: I7c29c4a63d236c3688b8e4f5af70650d43cd89c0 GitHub-Last-Rev: d4a18c7 GitHub-Pull-Request: #43024 Reviewed-on: https://go-review.googlesource.com/c/go/+/275592 Reviewed-by: Ian Lance Taylor <[email protected]> Trust: Keith Randall <[email protected]>
1 parent be9379f commit 3b2a578

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/internal/cpu/cpu_arm64.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func doinit() {
3636

3737
switch GOOS {
3838
case "linux", "android":
39-
// HWCap was populated by the runtime from the auxillary vector.
39+
// HWCap was populated by the runtime from the auxiliary vector.
4040
// Use HWCap information since reading aarch64 system registers
4141
// is not supported in user space on older linux kernels.
4242
ARM64.HasAES = isSet(HWCap, hwcap_AES)
@@ -103,7 +103,7 @@ func doinit() {
103103
ARM64.HasATOMICS = true
104104
}
105105
default:
106-
// Other operating systems do not support reading HWCap from auxillary vector
106+
// Other operating systems do not support reading HWCap from auxiliary vector
107107
// or reading privileged aarch64 system registers in user space.
108108
}
109109
}

0 commit comments

Comments
 (0)