diff options
| author | Martin Möhrmann <martisch@uos.de> | 2016-02-24 11:55:20 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-02-24 18:42:29 +0000 |
| commit | fdd0179bb1fdd70d405929b78c7d2fb6b61369b0 (patch) | |
| tree | 5dadc692c0e8ec767846f9dfc0fee73338d0b5b8 /src/runtime | |
| parent | 4feb47bc765d2cd7d774b0a28b06e8d81a1affe7 (diff) | |
| download | go-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.tar.xz | |
all: fix typos and spelling
Change-Id: Icd06d99c42b8299fd931c7da821e1f418684d913
Reviewed-on: https://go-review.googlesource.com/19829
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/asm_arm.s | 2 | ||||
| -rw-r--r-- | src/runtime/cgo/callbacks.go | 2 | ||||
| -rw-r--r-- | src/runtime/chan_test.go | 2 | ||||
| -rw-r--r-- | src/runtime/memclr_amd64.s | 2 | ||||
| -rw-r--r-- | src/runtime/memmove_ppc64x.s | 2 | ||||
| -rw-r--r-- | src/runtime/mgcwork.go | 2 | ||||
| -rw-r--r-- | src/runtime/netpoll_solaris.go | 4 | ||||
| -rw-r--r-- | src/runtime/proc.go | 2 | ||||
| -rw-r--r-- | src/runtime/runtime_test.go | 2 | ||||
| -rw-r--r-- | src/runtime/softfloat_arm.go | 2 | ||||
| -rw-r--r-- | src/runtime/sys_solaris_amd64.s | 2 |
11 files changed, 12 insertions, 12 deletions
diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s index 5d0206d1c9..2fdfbea0e1 100644 --- a/src/runtime/asm_arm.s +++ b/src/runtime/asm_arm.s @@ -706,7 +706,7 @@ TEXT runtime·abort(SB),NOSPLIT,$-4-0 // armPublicationBarrier is a native store/store barrier for ARMv7+. // On earlier ARM revisions, armPublicationBarrier is a no-op. // This will not work on SMP ARMv6 machines, if any are in use. -// To implement publiationBarrier in sys_$GOOS_arm.s using the native +// To implement publicationBarrier in sys_$GOOS_arm.s using the native // instructions, use: // // TEXT ·publicationBarrier(SB),NOSPLIT,$-4-0 diff --git a/src/runtime/cgo/callbacks.go b/src/runtime/cgo/callbacks.go index 08f230d47e..14ac9da0ac 100644 --- a/src/runtime/cgo/callbacks.go +++ b/src/runtime/cgo/callbacks.go @@ -78,7 +78,7 @@ var _cgo_thread_start = &x_cgo_thread_start var x_cgo_sys_thread_create byte var _cgo_sys_thread_create = &x_cgo_sys_thread_create -// Notifies that the runtime has been intialized. +// Notifies that the runtime has been initialized. // // We currently block at every CGO entry point (via _cgo_wait_runtime_init_done) // to ensure that the runtime has been initialized before the CGO call is diff --git a/src/runtime/chan_test.go b/src/runtime/chan_test.go index 497e87f43d..2cdfae866c 100644 --- a/src/runtime/chan_test.go +++ b/src/runtime/chan_test.go @@ -573,7 +573,7 @@ func TestSelectDuplicateChannel(t *testing.T) { } e <- 9 }() - time.Sleep(time.Millisecond) // make sure goroutine A gets qeueued first on c + time.Sleep(time.Millisecond) // make sure goroutine A gets queued first on c // goroutine B go func() { diff --git a/src/runtime/memclr_amd64.s b/src/runtime/memclr_amd64.s index c257d59b30..6f30eca242 100644 --- a/src/runtime/memclr_amd64.s +++ b/src/runtime/memclr_amd64.s @@ -103,7 +103,7 @@ loop_avx2_huge: ADDQ $128, DI CMPQ BX, $128 JAE loop_avx2_huge - // In the desciption of MOVNTDQ in [1] + // In the description of MOVNTDQ in [1] // "... fencing operation implemented with the SFENCE or MFENCE instruction // should be used in conjunction with MOVNTDQ instructions..." // [1] 64-ia-32-architectures-software-developer-manual-325462.pdf diff --git a/src/runtime/memmove_ppc64x.s b/src/runtime/memmove_ppc64x.s index b6d0b85459..ea73b455b4 100644 --- a/src/runtime/memmove_ppc64x.s +++ b/src/runtime/memmove_ppc64x.s @@ -24,7 +24,7 @@ check: BC 12, 9, backward // I think you should be able to write this as "BGT CR2, backward" // Copying forward proceeds by copying R6 words then copying R7 bytes. - // R3 and R4 are advanced as we copy. Becuase PPC64 lacks post-increment + // R3 and R4 are advanced as we copy. Because PPC64 lacks post-increment // load/store, R3 and R4 point before the bytes that are to be copied. BC 12, 6, noforwardlarge // "BEQ CR1, noforwardlarge" diff --git a/src/runtime/mgcwork.go b/src/runtime/mgcwork.go index 0a0285d816..340604fb36 100644 --- a/src/runtime/mgcwork.go +++ b/src/runtime/mgcwork.go @@ -259,7 +259,7 @@ func (w *gcWork) empty() bool { type workbufhdr struct { node lfnode // must be first nobj int - inuse bool // This workbuf is in use by some gorotuine and is not on the work.empty/full queues. + inuse bool // This workbuf is in use by some goroutine and is not on the work.empty/full queues. log [4]int // line numbers forming a history of ownership changes to workbuf } diff --git a/src/runtime/netpoll_solaris.go b/src/runtime/netpoll_solaris.go index 86e9b997ef..53b2aacdb5 100644 --- a/src/runtime/netpoll_solaris.go +++ b/src/runtime/netpoll_solaris.go @@ -58,7 +58,7 @@ import "unsafe" // // The open and arming mechanisms are serialized using the lock // inside PollDesc. This is required because the netpoll loop runs -// asynchonously in respect to other Go code and by the time we get +// asynchronously in respect to other Go code and by the time we get // to call port_associate to update the association in the loop, the // file descriptor might have been closed and reopened already. The // lock allows runtime·netpollupdate to be called synchronously from @@ -125,7 +125,7 @@ func netpollopen(fd uintptr, pd *pollDesc) int32 { lock(&pd.lock) // We don't register for any specific type of events yet, that's // netpollarm's job. We merely ensure we call port_associate before - // asynchonous connect/accept completes, so when we actually want + // asynchronous connect/accept completes, so when we actually want // to do any I/O, the call to port_associate (from netpollarm, // with the interested event set) will unblock port_getn right away // because of the I/O readiness notification. diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 389917916f..2dc53b5b72 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -3910,7 +3910,7 @@ retry: if runqputslow(_p_, gp, h, t) { return } - // the queue is not full, now the put above must suceed + // the queue is not full, now the put above must succeed goto retry } diff --git a/src/runtime/runtime_test.go b/src/runtime/runtime_test.go index a6150a77ee..b3350ef82f 100644 --- a/src/runtime/runtime_test.go +++ b/src/runtime/runtime_test.go @@ -104,7 +104,7 @@ func TestStopCPUProfilingWithProfilerOff(t *testing.T) { // of the larger addresses must themselves be invalid addresses. // We might get unlucky and the OS might have mapped one of these // addresses, but probably not: they're all in the first page, very high -// adderesses that normally an OS would reserve for itself, or malformed +// addresses that normally an OS would reserve for itself, or malformed // addresses. Even so, we might have to remove one or two on different // systems. We will see. diff --git a/src/runtime/softfloat_arm.go b/src/runtime/softfloat_arm.go index 202e7bbf86..99048d612e 100644 --- a/src/runtime/softfloat_arm.go +++ b/src/runtime/softfloat_arm.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Software floating point interpretaton of ARM 7500 FP instructions. +// Software floating point interpretation of ARM 7500 FP instructions. // The interpretation is not bit compatible with the 7500. // It uses true little-endian doubles, while the 7500 used mixed-endian. diff --git a/src/runtime/sys_solaris_amd64.s b/src/runtime/sys_solaris_amd64.s index 3a82674684..09f22636a9 100644 --- a/src/runtime/sys_solaris_amd64.s +++ b/src/runtime/sys_solaris_amd64.s @@ -52,7 +52,7 @@ TEXT runtime·nanotime1(SB),NOSPLIT,$0 // pipe(3c) wrapper that returns fds in AX, DX. // NOT USING GO CALLING CONVENTION. TEXT runtime·pipe1(SB),NOSPLIT,$0 - SUBQ $16, SP // 8 bytes will do, but stack has to be 16-byte alligned + SUBQ $16, SP // 8 bytes will do, but stack has to be 16-byte aligned MOVQ SP, DI LEAQ libc_pipe(SB), AX CALL AX |
