Commit 4dad4ab5 authored by Yasuhiro Matsumoto's avatar Yasuhiro Matsumoto Committed by Ian Lance Taylor

runtime: fix typo in comment

GitHub-Last-Rev: d6a6fa39095cac8a9acfeacbbafd636e1aa9b55b
GitHub-Pull-Request: golang/go#23809
Change-Id: Ife18ba2f982b5e1c30bda32d13dcd441778b986a
Reviewed-on: https://go-review.googlesource.com/93575Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 816154b0
......@@ -25,7 +25,7 @@ func spinUnlock(state *uint32)
//go:nosplit
func lockAndCheck(addr *uint64) {
// ensure 8-byte alignement
// ensure 8-byte alignment
if uintptr(unsafe.Pointer(addr))&7 != 0 {
addr = nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment