about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorcaiyinyu <caiyinyu@loongson.cn>2023-05-25 17:01:11 +0800
committercaiyinyu <caiyinyu@loongson.cn>2023-05-30 14:13:06 +0800
commit3eed5f3a1ee356969afb403a1cf18d06f8d2d98a (patch)
tree889b9b377ad5953d37550d15dcfcd05a7551bf33 /include
parent630da022cb07d67ab53b4e9335352e44e9b7c5e2 (diff)
downloadglibc-3eed5f3a1ee356969afb403a1cf18d06f8d2d98a.tar.gz
glibc-3eed5f3a1ee356969afb403a1cf18d06f8d2d98a.tar.xz
glibc-3eed5f3a1ee356969afb403a1cf18d06f8d2d98a.zip
LoongArch: Fix inconsistency in SHMLBA macro values between glibc and kernel
The LoongArch glibc was using the value of the SHMLBA macro from common code,
which is __getpagesize() (16k), but this was inconsistent with the value of
the SHMLBA macro in the kernel, which is SZ_64K (64k). This caused several
shmat-related tests in LTP (Linux Test Project) to fail. This commit fixes
the issue by ensuring that the glibc's SHMLBA macro value matches the value
used in the kernel like other architectures.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions