This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] MIPS: delete getpagesize.c
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Matt Turner <mattst88 at gmail dot com>
- Cc: libc-ports at sourceware dot org, "Maciej W. Rozycki" <macro at linux-mips dot org>, Richard Henderson <rth at twiddle dot net>, Andrew Pinksi <andrew dot pinski at caviumnetworks dot com>
- Date: Fri, 3 Dec 2010 17:21:20 +0000 (UTC)
- Subject: Re: [PATCH] MIPS: delete getpagesize.c
- References: <1291165591-12653-1-git-send-email-mattst88@gmail.com>
On Tue, 30 Nov 2010, Matt Turner wrote:
> MIPS' getpagesize.c just included ia64's getpagesize.c, which was in
> turn just the implementation sysdeps/unix/sysv/linux/getpagesize.c with
> ifdef __ASSUME_AT_PAGESIZE which is defined on all Linux platforms since
> 2.4.0-pre. Just use the generic implementation which will do the exact
> same thing.
It looks like the default configuration for MIPS is for
arch_minimum_kernel=2.4.0 and __ASSUME_AT_PAGESIZE is only defined for
2.4.1 or later, so this would change things for anyone configuring without
--enable-kernel. Support for anything before 2.6 isn't exactly *useful*
with current glibc given that NPTL is the only threading implementation
available; should we increase arch_minimum_kernel for MIPS to 2.6.0 or
greater before putting this patch in?
--
Joseph S. Myers
joseph@codesourcery.com