std.Thread: Fix freeAndExit() syscall numbers for mips64.

These just seem to have been copy/pasted from mips32.
This commit is contained in:
Alex Rønne Petersen 2024-08-12 12:34:40 +02:00 committed by Andrew Kelley
parent d0ae803a77
commit e725d1e226

View File

@ -1149,11 +1149,11 @@ const LinuxThreadImpl = struct {
: "memory"
),
.mips64, .mips64el => asm volatile (
\\ li $2, 4091 # SYS_munmap
\\ li $2, 5011 # SYS_munmap
\\ move $4, %[ptr]
\\ move $5, %[len]
\\ syscall
\\ li $2, 4001 # SYS_exit
\\ li $2, 5058 # SYS_exit
\\ li $4, 0
\\ syscall
: