[PATCH v4 13/23] or1k: Add <bits/pagesize.h>

Florian Weimer fweimer@redhat.com
Tue May 13 10:01:52 GMT 2025


The Linux sources in arch/openrisc/Kconfig use HAVE_PAGE_SIZE_8KB
only, so the page size is fixed at 8 KiB.
---
 sysdeps/or1k/bits/pagesize.h | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 sysdeps/or1k/bits/pagesize.h

diff --git a/sysdeps/or1k/bits/pagesize.h b/sysdeps/or1k/bits/pagesize.h
new file mode 100644
index 0000000000..3a01770005
--- /dev/null
+++ b/sysdeps/or1k/bits/pagesize.h
@@ -0,0 +1,2 @@
+#define __GLIBC_PAGE_SHIFT_MIN 13
+#define __GLIBC_PAGE_SHIFT_MAX 13
-- 
2.49.0




More information about the Libc-alpha mailing list