Remove pre-2.4.1 Linux kernel support

Andreas Jaeger aj@suse.com
Thu Jul 12 04:27:00 GMT 2012


On 07/12/2012 01:48 AM, Joseph S. Myers wrote:
> This patch continues the cleanup of support for old kernel versions by
> making the minimum kernel version 2.4.1 (which for many conditionals
> actually means 2.4.0 final release, for features introduced in
> 2.4.0-testN kernels).  Macros that are no longer needed are removed.
> __ASSUME_GETDENTS64_SYSCALL is defined unconditionally to 1 in
> kernel-features.h, rather than removed, since the MIPS version
> undefines it for n32 ABI for kernel versions before 2.6.35.
>
> Tested x86 and x86_64.
>
> The intended next step is moving the kernel version requirement from
> 2.4.1 to 2.4.21 (which will eliminate almost all the remaining
> conditionals on particular 2.4.x versions), after which I'll look
> again carefully at the macros defined independently of kernel version
> but for certain architectures only, to see if any more of them can be
> eliminated before moving the version requirement to 2.6.0 (then
> 2.6.16, then 2.6.16-final).
>
> 2012-07-11  Joseph Myers<joseph@codesourcery.com>
>
> 	[BZ #13717]
> 	* sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
> 	Change to 2.4.1 where previously 2.4.0.
> 	* sysdeps/unix/sysv/linux/configure: Regenerated.
> 	* sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
> 	(__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
> 	version.
> 	[__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
> 	(__ASSUME_AT_CLKTCK): Remove.
> 	(__ASSUME_AT_PAGESIZE): Likewise.
> 	(__ASSUME_AT_XID): Likewise.
> 	(__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
> 	[__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
> 	* sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
> 	unconditionally.
> 	(HAVE_AUX_PAGESIZE): Likewise.
> 	* sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
> 	[__ASSUME_AT_CLKTCK]: Make code unconditional.
> 	[!__ASSUME_AT_CLKTCK]: Remove conditional code.

This looks fine, thanks,
Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126




More information about the Libc-alpha mailing list