diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index a5c03138f7..21a77b0d63 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -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