From 4dad4ab57bc0cedcc8d164147262f7f6898282dd Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 13 Feb 2018 10:23:37 +0000 Subject: [PATCH] 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/93575 Reviewed-by: Ian Lance Taylor --- src/runtime/internal/atomic/atomic_mipsx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/internal/atomic/atomic_mipsx.go b/src/runtime/internal/atomic/atomic_mipsx.go index 93a1f1a9dd..32be1c779d 100644 --- a/src/runtime/internal/atomic/atomic_mipsx.go +++ b/src/runtime/internal/atomic/atomic_mipsx.go @@ -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 }