From a915cb47eef8acc8998414cd5f88c13614821e92 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 4 Sep 2014 01:05:32 -0400 Subject: [PATCH] runtime: fix onM test for curg on arm TBR=iant CC=golang-codereviews https://golang.org/cl/137130043 --- src/pkg/runtime/asm_arm.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/asm_arm.s b/src/pkg/runtime/asm_arm.s index 6acf3f73dbe..3f3b9b7bee1 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