public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/vineet/arc-glibc-2.30-time_t-32-bit] ARC: allow dynamic mmu page sizes
@ 2020-07-16 21:51 Vineet Gupta
  0 siblings, 0 replies; only message in thread
From: Vineet Gupta @ 2020-07-16 21:51 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9a277dbb16d19f10ae65015e55d0ddca5cb72e30

commit 9a277dbb16d19f10ae65015e55d0ddca5cb72e30
Author: Vineet Gupta <vgupta@synopsys.com>
Date:   Thu May 2 15:06:40 2019 -0700

    ARC: allow dynamic mmu page sizes
    
    Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

Diff:
---
 sysdeps/unix/sysv/linux/arc/mmap_internal.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/arc/mmap_internal.h b/sysdeps/unix/sysv/linux/arc/mmap_internal.h
index 3f28f352d9..51d0a25f26 100644
--- a/sysdeps/unix/sysv/linux/arc/mmap_internal.h
+++ b/sysdeps/unix/sysv/linux/arc/mmap_internal.h
@@ -19,8 +19,8 @@
 #ifndef MMAP_ARC_INTERNAL_H
 #define MMAP_ARC_INTERNAL_H
 
-/* 8K page is default for ARC.  */
-#define MMAP2_PAGE_UNIT 8192ULL
+/* Determine the shift dynamically with getpagesize.  */
+#define MMAP2_PAGE_UNIT -1
 
 #include_next <mmap_internal.h>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-16 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 21:51 [glibc/vineet/arc-glibc-2.30-time_t-32-bit] ARC: allow dynamic mmu page sizes Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).