From patchwork Sun Feb 9 20:21:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1235564 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-109327-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=lH8ZpJv1; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=clfTmS7S; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48G0ns1D7rz9sRQ for ; Mon, 10 Feb 2020 07:22:24 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:in-reply-to:references :message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=nGkNcgu/rhFAgQSp +168jaiIZuxFWVvVqWQftTAaADzLfmQK02uIdYpHk6hbGfQBZfn/D/FpE4HOkTmP 3eaEN3KZeoEV5sICA1YjPGyLnEgT4OJJLzJWvqYIldV2y/CRaPwu3LOTFstAioKw Pg68vZgb9Zgkcd8CA+lCggIgKgg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:in-reply-to:references :message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=VXHY/fQhi6GtFDBu1lYr/W 4TEtw=; b=lH8ZpJv1GhZIHYXs/8O4JiuZNkbf0L9S1xzfVkJEVgHu7nazqC+tom RgYtpn6qL05mpeGozxthpy0fKl3xJESFSvmDHbi8/FKp0BJ9fMbprFNCc2M+aSPq dwgKnjYJD42h1ubNm6YuRWo2qNV6g4xp2VunktPrZ3bZooYaWEAyk= Received: (qmail 26678 invoked by alias); 9 Feb 2020 20:21:10 -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 26585 invoked by uid 89); 9 Feb 2020 20:21:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.8 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=HX-Languages-Length:815 X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581279667; 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=t3FGrVkJwwaVIFoDqVbAWam7wXrsf492A5evFqEcsSI=; b=clfTmS7SSqCDjsVd6/aj28ueOnRRlneijT/dFRMCd2hqcprtAewr9BCQDNKBTUODo/XiaC c93lB0bAe4LI/sk+oWNxwgfQgOYI6WQXFgNfBH3+lpdkdb8d0ne0CpfMvV2PoXtdyW5mcV xypq3h0YgwrNxoXNaDIpUX97S1VTeCk= From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 19/26] Linux: pciconfig_iobase syscall number is always available on alpha In-Reply-To: References: X-From-Line: e0b25191ab5e26e43659e8793ad7621956606635 Mon Sep 17 00:00:00 2001 Message-Id: Date: Sun, 09 Feb 2020 21:21:01 +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 Due to the built-in tables, __NR_pciconfig_iobase is always defined. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/alpha/ioperm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/alpha/ioperm.c b/sysdeps/unix/sysv/linux/alpha/ioperm.c index 086c782b9f..1f9c38db98 100644 --- a/sysdeps/unix/sysv/linux/alpha/ioperm.c +++ b/sysdeps/unix/sysv/linux/alpha/ioperm.c @@ -542,7 +542,6 @@ init_iosys (void) /* First try the pciconfig_iobase syscall added to 2.2.15 and 2.3.99. */ -#ifdef __NR_pciconfig_iobase addr = __pciconfig_iobase (IOBASE_DENSE_MEM, 0, 0); if (addr != -1) { @@ -584,7 +583,6 @@ init_iosys (void) return 0; } -#endif /* Second, collect the contents of /etc/alpha_systype or /proc/cpuinfo. */