From patchwork Thu Nov 14 18:50:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 35892 Received: (qmail 1212 invoked by alias); 14 Nov 2019 18:51:09 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 1146 invoked by uid 89); 14 Nov 2019 18:51:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=2574 X-HELO: mail-qt1-f195.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tMSYaBJh4gV1UiyeCgAR/oU+2TkW69zjHrOQaHpzs7k=; b=AmbU6DGI7FHwrE3naiGf66mtRrtfgQMnLzuuzvJicm8F3So/4fWpd+8bU+mBNwdYEJ BCELeiaCmjuYh0F/xjfyrCHUWvQoIHlAAvs5r6ID/084pg8gDEpNIWvpewfHCRDdLPe6 G34z2j+1RKP1EQoK02a/O7qi+OP+pVnhDESqBvBbrgtyuXpQvbKDvX+8pDXt1uYl9nFk nTBaAXhSc4ULTCHBHf0o2t8W9qyr8x/fB0WnmUeioaA8PAvNQgBrmskLHtf46PakWjWb psbwUkJqYsG+jmCC0UdYiuqwpQ1hnmtLuNLaKWh59gv7iRRoPrSjVFY/AygRzQ3ISXqd ZQtQ== Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Lukasz Majewski Subject: [PATCH 2/2] linux: Remove __ASSUME_PSELECT Date: Thu, 14 Nov 2019 15:50:59 -0300 Message-Id: <20191114185059.6403-2-adhemerval.zanella@linaro.org> In-Reply-To: <20191114185059.6403-1-adhemerval.zanella@linaro.org> References: <20191114185059.6403-1-adhemerval.zanella@linaro.org> The specific microblaze pselect implementation does not use __ASSUME_PSELECT anymore. Checked with a build against microblaze-linux-gnu. --- sysdeps/unix/sysv/linux/kernel-features.h | 4 ---- sysdeps/unix/sysv/linux/microblaze/kernel-features.h | 1 - 2 files changed, 5 deletions(-) diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index e6be76ff46..9012aae4c0 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -45,10 +45,6 @@ /* The statfs64 syscalls are available in 2.5.74 (but not for alpha). */ #define __ASSUME_STATFS64 1 -/* pselect/ppoll were introduced just after 2.6.16-rc1. On x86_64 and - SH this appeared first in 2.6.19-rc1, on ia64 in 2.6.22-rc1. */ -#define __ASSUME_PSELECT 1 - /* The *at syscalls were introduced just after 2.6.16-rc1. On PPC they were introduced in 2.6.17-rc1, on SH in 2.6.19-rc1. */ #define __ASSUME_ATFCTS 1 diff --git a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h index 2dd9810f93..1c60488ea9 100644 --- a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h +++ b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h @@ -36,7 +36,6 @@ /* Support for the pselect6, preadv and pwritev syscalls was added in 3.15. */ #if __LINUX_KERNEL_VERSION < 0x030f00 -# undef __ASSUME_PSELECT # undef __ASSUME_PREADV # undef __ASSUME_PWRITEV #endif