mirror of
https://github.com/golang/go
synced 2024-11-11 20:40:21 -07:00
internal/cpu: fix typo in cpu_arm64.go
auxillary -> auxiliary
This commit is contained in:
parent
be9379f8a8
commit
d4a18c71a1
@ -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.
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user