| author | |
| committer | |
| log | 4b8325f3815c7fa774bb06ef5d190f039723222b |
| tree | 50ed2c99684117d74b0f875b7163c656deb398ef |
| parent | c1f8b201a1419e1f86c116c67de2f5a8c58b9a84 |
1 files changed, 1 insertions(+), 1 deletions(-)
std/os/linux/tls.zig+1-1| ... | ... | @@ -147,7 +147,7 @@ pub fn initTLS() void { |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | // If the cpu is arm-based, check if it supports the TLS register |
| 150 | if (builtin.arch == builtin.Arch.arm and builtin.os == .linux) { | |
| 150 | if (builtin.arch == builtin.Arch.arm) { | |
| 151 | 151 | if (at_hwcap & std.os.linux.HWCAP_TLS == 0) { |
| 152 | 152 | // If the CPU does not support TLS via a coprocessor register, |
| 153 | 153 | // a kernel helper function can be used instead on certain linux kernels. |