From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24191 invoked by alias); 25 Jul 2012 20:50:53 -0000 Received: (qmail 24175 invoked by uid 22791); 25 Jul 2012 20:50:53 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f169.google.com (HELO mail-ob0-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Jul 2012 20:50:36 +0000 Received: by obhx4 with SMTP id x4so1996759obh.0 for ; Wed, 25 Jul 2012 13:50:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.121.72 with SMTP id li8mr21147971obb.76.1343249435327; Wed, 25 Jul 2012 13:50:35 -0700 (PDT) Received: by 10.76.25.163 with HTTP; Wed, 25 Jul 2012 13:50:35 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Jul 2012 20:50:00 -0000 Message-ID: Subject: Re: Remove pre-2.4.21 Linux kernel support From: "Ryan S. Arnold" To: "Joseph S. Myers" Cc: libc-alpha@sourceware.org, libc-ports@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00056.txt.bz2 On Thu, Jul 12, 2012 at 6:39 PM, Joseph S. Myers wrote: > Continuing the removal of compatibility code for old Linux kernel > versions, this patch increases the minimum kernel version from 2.4.1 > to 2.4.21. This allows removal of all conditions on specific 2.4 > kernel versions except for __ASSUME_TMPFS_NAME (where the comment says > 2.4.20 but the code is actually testing against 2.4.26; I'll deal with > that when moving the required version to 2.6.0 rather than working out > whether actually 2.4.21 is enough there). > > A fair amount of the patch deals with some macros defined and used > only for powerpc; could a powerpc maintainer review / test these > changes? (There are also ports changes to m68k/kernel-features.h, but > those are trivial.) > > There was a single __ASSUME_NETLINK_SUPPORT test outside of > sysdeps/unix/sysv/linux, but it was only testing whether to define the > __no_netlink_support variable, previously used by some code that may > be built into nscd. Since the patch eliminates all uses of that > variable, the definition in nscd is no longer needed, so in fact all > __ASSUME_NETLINK_SUPPORT tests can go (there was no substantive use > relevant to non-Linux kernels) and so this patch removes them all and > the definition. > > Tested x86 and x86_64. Tested on powerpc32 and powerpc64 and no new regressions were observed. Ryan S. Arnold