diff options
| author | Jingcheng Zhang <diogin@gmail.com> | 2012-12-19 00:30:29 +0800 |
|---|---|---|
| committer | Shenghou Ma <minux.ma@gmail.com> | 2012-12-19 00:30:29 +0800 |
| commit | 70e967b7bc6583735c098a91395b9f42b017e006 (patch) | |
| tree | 552bd91d9d3fcba81b6b9dd06e24340889c56402 /src/pkg/runtime/sys_linux_arm.s | |
| parent | a9d82423110dc39ede4503ea120db1d739119a8f (diff) | |
| download | go-70e967b7bc6583735c098a91395b9f42b017e006.tar.xz | |
runtime: use "mp" and "gp" instead of "m" and "g" for local variable name to avoid confusion with the global "m" and "g".
R=golang-dev, minux.ma, rsc
CC=bradfitz, golang-dev
https://golang.org/cl/6939064
Diffstat (limited to 'src/pkg/runtime/sys_linux_arm.s')
| -rw-r--r-- | src/pkg/runtime/sys_linux_arm.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/sys_linux_arm.s b/src/pkg/runtime/sys_linux_arm.s index ec5b0ca135..eda7b1f568 100644 --- a/src/pkg/runtime/sys_linux_arm.s +++ b/src/pkg/runtime/sys_linux_arm.s @@ -206,7 +206,7 @@ TEXT runtime·futex(SB),7,$0 RET -// int32 clone(int32 flags, void *stack, M *m, G *g, void (*fn)(void)); +// int32 clone(int32 flags, void *stack, M *mp, G *gp, void (*fn)(void)); TEXT runtime·clone(SB),7,$0 MOVW flags+0(FP), R0 MOVW stack+4(FP), R1 @@ -215,7 +215,7 @@ TEXT runtime·clone(SB),7,$0 MOVW $0, R4 // child tid ptr MOVW $0, R5 - // Copy m, g, fn off parent stack for use by child. + // Copy mp, gp, fn off parent stack for use by child. // TODO(kaib): figure out which registers are clobbered by clone and avoid stack copying MOVW $-16(R1), R1 MOVW mm+8(FP), R6 |
