diff options
author | 2023-08-10 19:28:24 -0500 | |
---|---|---|
committer | 2023-08-11 15:33:08 -0500 | |
commit | 084fb31bc2c5f95ae0b9e6df4d3cf0ff43471ede (patch) | |
tree | 1b79cc8113295ce1322c35f3c6b1c557acda7989 /sysdeps/unix/sysv/linux/bits/fcntl-linux.h | |
parent | x86_64: Add log2 with FMA (diff) | |
download | glibc-084fb31bc2c5f95ae0b9e6df4d3cf0ff43471ede.tar.xz glibc-084fb31bc2c5f95ae0b9e6df4d3cf0ff43471ede.zip |
x86: Fix incorrect scope of setting `shared_per_thread` [BZ# 30745]
The:
```
if (shared_per_thread > 0 && threads > 0)
shared_per_thread /= threads;
```
Code was accidentally moved to inside the else scope. This doesn't
match how it was previously (before af992e7abd).
This patch fixes that by putting the division after the `else` block.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/fcntl-linux.h')
0 files changed, 0 insertions, 0 deletions