diff options
| author | Russ Cox <rsc@golang.org> | 2009-01-16 14:58:14 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-01-16 14:58:14 -0800 |
| commit | 360962420c484427bbc16e1f8699ee5cccc4f012 (patch) | |
| tree | 321251a8cd180ad7856af54e8e531850d0735fb0 /src/runtime/sys_amd64_linux.s | |
| parent | ec9f2b0cd46300b9da3a82aa3604c98fce017baa (diff) | |
| download | go-360962420c484427bbc16e1f8699ee5cccc4f012.tar.xz | |
casify, cleanup sys
R=r
OCL=22978
CL=22984
Diffstat (limited to 'src/runtime/sys_amd64_linux.s')
| -rw-r--r-- | src/runtime/sys_amd64_linux.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/sys_amd64_linux.s b/src/runtime/sys_amd64_linux.s index d385bb43ec..49349bb48b 100644 --- a/src/runtime/sys_amd64_linux.s +++ b/src/runtime/sys_amd64_linux.s @@ -6,7 +6,7 @@ // System calls and other sys.stuff for AMD64, Linux // -TEXT sys·exit(SB),7,$0-8 +TEXT sys·Exit(SB),7,$0-8 MOVL 8(SP), DI MOVL $231, AX // exitgroup - force all os threads to exi SYSCALL @@ -175,12 +175,12 @@ TEXT clone(SB),7,$0 MOVQ SI, SP MOVQ R8, R14 // m MOVQ R9, R15 // g - + // Initialize m->procid to Linux tid MOVL $186, AX // gettid SYSCALL MOVQ AX, 24(R14) - + // Call fn CALL R12 |
