diff --git a/std/os/linux/tls.zig b/std/os/linux/tls.zig index 1b2687b82c155e7c40ea4dd1c73cdaa93a31b923..8920e28a5b9e7b0ade4589befc949c35eb5e0fc2 100644 --- a/std/os/linux/tls.zig +++ b/std/os/linux/tls.zig @@ -147,7 +147,7 @@ pub fn initTLS() void { } // If the cpu is arm-based, check if it supports the TLS register - if (builtin.arch == builtin.Arch.arm and builtin.os == .linux) { + if (builtin.arch == builtin.Arch.arm) { if (at_hwcap & std.os.linux.HWCAP_TLS == 0) { // If the CPU does not support TLS via a coprocessor register, // a kernel helper function can be used instead on certain linux kernels.