[PATCH v4 19/23] x86: Add <bits/pagesize.h>

Florian Weimer fweimer@redhat.com
Tue May 13 10:02:27 GMT 2025


It is well-known that the page size on i386 and x86-64 is 4096 bytes.
---
 sysdeps/x86/bits/pagesize.h | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 sysdeps/x86/bits/pagesize.h

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




More information about the Libc-alpha mailing list