1
0
mirror of https://github.com/golang/go synced 2024-10-05 20:31:20 -06:00

[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
This commit is contained in:
Shenghou Ma 2014-08-14 12:01:27 -04:00 committed by Russ Cox
parent 7776b0a1cc
commit b3375771fc

View File

@ -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)