From: Russ Cox Date: Thu, 4 Sep 2014 05:05:32 +0000 (-0400) Subject: runtime: fix onM test for curg on arm X-Git-Tag: go1.4beta1~547 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a915cb47eef8acc8998414cd5f88c13614821e92;p=gostls13.git runtime: fix onM test for curg on arm TBR=iant CC=golang-codereviews https://golang.org/cl/137130043 --- diff --git a/src/pkg/runtime/asm_arm.s b/src/pkg/runtime/asm_arm.s index 6acf3f73db..3f3b9b7bee 100644 --- a/src/pkg/runtime/asm_arm.s +++ b/src/pkg/runtime/asm_arm.s @@ -198,7 +198,7 @@ TEXT runtime·onM(SB), NOSPLIT, $0-4 CMP g, R2 B.EQ onm - MOVW m_g0(R1), R3 + MOVW m_curg(R1), R3 CMP g, R3 B.EQ oncurg