Skip to content

Commit

Permalink
runtime: fix typo in comment
Browse files Browse the repository at this point in the history
GitHub-Last-Rev: d6a6fa3
GitHub-Pull-Request: #23809
Change-Id: Ife18ba2f982b5e1c30bda32d13dcd441778b986a
Reviewed-on: https://go-review.googlesource.com/93575
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
mattn authored and ianlancetaylor committed Feb 13, 2018
1 parent 816154b commit 4dad4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/internal/atomic/atomic_mipsx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4dad4ab

Please sign in to comment.