diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2017-02-20 22:57:45 -0800 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2017-02-21 18:42:38 +0000 |
| commit | 4208fcdcd40f0359e117d850dc180bda7fea3f92 (patch) | |
| tree | 1d2b1543630745af70f2593c9c2863f0abb449f0 /src/runtime/sys_linux_mipsx.s | |
| parent | e51737aea14375ac72fb8c50241969d8972bb8fb (diff) | |
| download | go-4208fcdcd40f0359e117d850dc180bda7fea3f92.tar.xz | |
runtime: use standard linux/mipsx clone variable names
Change-Id: I62118e197190af1d11a89921d5769101ce6d2257
Reviewed-on: https://go-review.googlesource.com/37306
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_mipsx.s')
| -rw-r--r-- | src/runtime/sys_linux_mipsx.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/sys_linux_mipsx.s b/src/runtime/sys_linux_mipsx.s index 3b446b15ef..a9c556dd78 100644 --- a/src/runtime/sys_linux_mipsx.s +++ b/src/runtime/sys_linux_mipsx.s @@ -323,7 +323,7 @@ TEXT runtime·futex(SB),NOSPLIT,$20-28 RET -// int32 clone(int32 flags, void *stk, M *mm, G *gg, void (*fn)(void)); +// int32 clone(int32 flags, void *stk, M *mp, G *gp, void (*fn)(void)); TEXT runtime·clone(SB),NOSPLIT,$-4-24 MOVW flags+0(FP), R4 MOVW stk+4(FP), R5 @@ -335,9 +335,9 @@ TEXT runtime·clone(SB),NOSPLIT,$-4-24 // stack so that any syscall invoked immediately in the new thread won't fail. ADD $-32, R5 - // Copy mm, gg, fn off parent stack for use by child. - MOVW mm+8(FP), R16 - MOVW gg+12(FP), R17 + // Copy mp, gp, fn off parent stack for use by child. + MOVW mp+8(FP), R16 + MOVW gp+12(FP), R17 MOVW fn+16(FP), R18 MOVW $1234, R1 |
