From patchwork Sun Feb 9 20:21:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 37827 X-Patchwork-Delegate: carlos@redhat.com Received: (qmail 28983 invoked by alias); 9 Feb 2020 20:21:28 -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 28893 invoked by uid 89); 9 Feb 2020 20:21:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581279685; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GNa7GCkpO2PmYakA6qW5bUi311tclf5mo9TU1HJmR+4=; b=ADC/R14fChXJ33r5eXEKnJuDJQi+DLsnKfO+c0T/nEcBeVfDvJdVPfDv9JBEM4BF64EI6w kJZS2p6Q1i4598j4sICj9U2S8pW789jbDZypNy4AmFDXDLwJJXH2vyx18nsbybUn0W3vMp 6R9hbGYi8KhpzN7vt2XvvTIPXMNt5q4= From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 23/26] x86_64: Do not define __NR_semtimedop in In-Reply-To: References: X-From-Line: fe7f3fe7f8b42acb6dd6b9b1610a0cb21226021a Mon Sep 17 00:00:00 2001 Message-Id: Date: Sun, 09 Feb 2020 21:21:19 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com The definition is always available from the built-in system call table. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/x86_64/sysdep.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h index c2eb37e575..b8aa1a2b2f 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h +++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h @@ -33,13 +33,6 @@ #undef SYS_ify #define SYS_ify(syscall_name) __NR_##syscall_name -/* This is to help the old kernel headers where __NR_semtimedop is not - available. */ -#ifndef __NR_semtimedop -# define __NR_semtimedop 220 -#endif - - #ifdef __ASSEMBLER__ /* Linux uses a negative return value to indicate syscall errors,