diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index 45cf597c76974e13db6b55d80db988542406f6b4..55a8297464a03aac78dc4d0b6b26a8668e53f298 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -3614,8 +3614,7 @@ pub const PROT = struct { pub const EXEC = 0x4; /// page may be used for atomic ops pub const SEM = switch (native_arch) { - // TODO: also xtensa - .mips, .mipsel, .mips64, .mips64el => 0x10, + .mips, .mipsel, .mips64, .mips64el, .xtensa => 0x10, else => 0x8, }; /// mprotect flag: extend change to start of growsdown vma