mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 02:48:50 +00:00
std.Thread: Use loongarch freeAndExit() implementation for loongarch32 too.
This commit is contained in:
parent
1cdb143af2
commit
95674fca0c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user