From b3375771fcd67d2dc7c7eee2bcd093ab4c126ec4 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Thu, 14 Aug 2014 12:01:27 -0400 Subject: [PATCH] [dev.power64] runtime: don't fault on runtime.procyield, just return LGTM=dave, rsc R=rsc, iant, dave CC=golang-codereviews https://golang.org/cl/128230044 --- src/pkg/runtime/asm_power64x.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/asm_power64x.s b/src/pkg/runtime/asm_power64x.s index 1a72b1b3c2..a0511de8e6 100644 --- a/src/pkg/runtime/asm_power64x.s +++ b/src/pkg/runtime/asm_power64x.s @@ -547,7 +547,7 @@ TEXT runtime·xchgp(SB), NOSPLIT, $0-16 BR runtime·xchg64(SB) TEXT runtime·procyield(SB),NOSPLIT,$0-0 - MOVD R0, 17(R0) + RETURN TEXT runtime·atomicstorep(SB), NOSPLIT, $0-16 BR runtime·atomicstore64(SB)