diff mbox series

[v3,17/29] s390: Add <bits/pagesize.h>

Message ID 62b57bc06bd5f6cf422b9e93c28ba768a72f3482.1727624528.git.fweimer@redhat.com
State New
Headers show
Series Teach glibc about possible page sizes and handle gaps in ld.so | expand

Commit Message

Florian Weimer Sept. 29, 2024, 4:30 p.m. UTC
The s390 and 390x psABI supplements specify that the page size is
4096 bytes, and that is what Linux supports.
---
 sysdeps/s390/bits/pagesize.h | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 sysdeps/s390/bits/pagesize.h

Comments

Stefan Liebler Oct. 8, 2024, 2:28 p.m. UTC | #1
On 29.09.24 18:30, Florian Weimer wrote:
> The s390 and 390x psABI supplements specify that the page size is
> 4096 bytes, and that is what Linux supports.
Yes, this is correct.
Reviewed-by: Stefan Liebler <stli@linux.ibm.com>

> ---
>  sysdeps/s390/bits/pagesize.h | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 sysdeps/s390/bits/pagesize.h
> 
> diff --git a/sysdeps/s390/bits/pagesize.h b/sysdeps/s390/bits/pagesize.h
> new file mode 100644
> index 0000000000..352fb732d7
> --- /dev/null
> +++ b/sysdeps/s390/bits/pagesize.h
> @@ -0,0 +1,2 @@
> +#define __GLIBC_PAGE_SHIFT_MIN 12
> +#define __GLIBC_PAGE_SHIFT_MAX 12
diff mbox series

Patch

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