[v3,08/29] hppa: Add <bits/pagesize.h>

Message ID 5775def9240283ebb7cbe2f65e137dbbb69a66d6.1727624528.git.fweimer@redhat.com
State Under Review
Delegated to: Adhemerval Zanella Netto
Headers
Series Teach glibc about possible page sizes and handle gaps in ld.so |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed

Commit Message

Florian Weimer Sept. 29, 2024, 4:10 p.m. UTC
  According to the Linux sources (in arch/parisc/Kconfig), a variety
of page sizes from 4 KiB to 64 KiB are supported on PA-RISC
(although everything but 4 KiB is labeled as broken).
---
 sysdeps/hppa/bits/pagesize.h | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 sysdeps/hppa/bits/pagesize.h
  

Patch

diff --git a/sysdeps/hppa/bits/pagesize.h b/sysdeps/hppa/bits/pagesize.h
new file mode 100644
index 0000000000..cd688d3fb0
--- /dev/null
+++ b/sysdeps/hppa/bits/pagesize.h
@@ -0,0 +1,2 @@ 
+#define __GLIBC_PAGE_SHIFT_MIN 12
+#define __GLIBC_PAGE_SHIFT_MAX 16