aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-04 01:05:32 -0400
committerRuss Cox <rsc@golang.org>2014-09-04 01:05:32 -0400
commita915cb47eef8acc8998414cd5f88c13614821e92 (patch)
tree1506859976ac5ec573e6a6907a5a6440bd0f68c8 /src/pkg/runtime
parent996835887cd8472eadef961120de043a74724fa5 (diff)
downloadgo-a915cb47eef8acc8998414cd5f88c13614821e92.tar.xz
runtime: fix onM test for curg on arm
TBR=iant CC=golang-codereviews https://golang.org/cl/137130043
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/asm_arm.s2
1 files changed, 1 insertions, 1 deletions
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