std.Thread: Use loongarch freeAndExit() implementation for loongarch32 too.

This commit is contained in:
Alex Rønne Petersen 2024-10-16 01:06:27 +02:00
parent 1cdb143af2
commit 95674fca0c
No known key found for this signature in database

View File

@ -1338,7 +1338,7 @@ const LinuxThreadImpl = struct {
[len] "r" (self.mapped.len),
: "memory"
),
.loongarch64 => asm volatile (
.loongarch32, .loongarch64 => asm volatile (
\\ or $a0, $zero, %[ptr]
\\ or $a1, $zero, %[len]
\\ ori $a7, $zero, 215 # SYS_munmap