Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3420901ybi; Mon, 29 Jul 2019 06:18:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqybaL1znCykiI0TjyJgVQX/52J4WdHxyAfNuXqBJDPUeh1AQjAf1hBAMQsmHH5fJUGiabVd X-Received: by 2002:a17:90a:9f08:: with SMTP id n8mr113091697pjp.102.1564406327524; Mon, 29 Jul 2019 06:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564406327; cv=none; d=google.com; s=arc-20160816; b=QqwqIVTvS7PUFSChdwIxO7j0qIyTftL2zRBw98q4JBwoijXEnpXFCXcQosOf5HcdfA oGFtYohosUQS+95kfn7JTOYLORXmK+bI4UiM5f0fPugJLvH/wvhOla3oF8Vp+XPcxsbs BgZx3FDBgfTFhp4v5v4TvKJwe7sL3KaZMtQM5azvn7Mxle0lhDb4tR2zwfD5k0C7pLW+ zBFceqEscofuiE9h4GF2OQ+TteSBNsvyH1N0CDmL+fQd0fNEuMNnDeuBV1PzMbEgmp3E owneu1StOHTPmFcg8rXFt7jLT4AXplb9+AkxzgD+T4EptHvR9CyBcJOzp91wz9uf19bW x3YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yupETfqZ2IUSTjDe+bKCoxhzbaEilz49jRRnCpaPaiM=; b=wUZX0kQXsPTl3fWT1BwPhLJR2v4Rdrr7/RBJa5rjtBvdsGBlnodHfQpj7pCicCoo/O aMLDh5Mp38/zYLfspp6JKx0X8ckBn74VgHBEPK+BxkwEaC6qfF7oaiwM2JDb+ds5XiCd kZm1OD73kuDit3Ndel2tVnNgPC4Shej7fdVRgBli9O9K4GGGAIPe45qBmCOjlDFQu0k3 lfcpekjeQtvLY7hf+lzf0LB5Pd966SNodxJR8pxJRc37SyWIdS1jAiaj+GT7qE+T2PkQ vVFUDJO4o2FmruxbatTJi6DAUwxSVazo74YaSPIaYy8pMdN/iz0Ibekp4cBwjSy4Ad7O 7I9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1si24486709pla.75.2019.07.29.06.18.19; Mon, 29 Jul 2019 06:18:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728282AbfG2KOp (ORCPT + 99 others); Mon, 29 Jul 2019 06:14:45 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:33050 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbfG2KOm (ORCPT ); Mon, 29 Jul 2019 06:14:42 -0400 Received: by mail-lf1-f65.google.com with SMTP id x3so41743056lfc.0; Mon, 29 Jul 2019 03:14:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yupETfqZ2IUSTjDe+bKCoxhzbaEilz49jRRnCpaPaiM=; b=cRhDn/dJ6vQDUryu5X8N4NmMOZdsdiaQJJSOI/HSMQ2CX8DX+npSOXrkzcyT+yeduk BX9OsM326pWxtYV9N5xneJlNZWuGBbtS9C7zTWbpfDro8iDGV2NZnRXDeNIl/HkSlsx7 nFUMZmAgYT88R4HnXSfB4n4thoS7iBnCLTb9W4Zmk31c65Hufury6qIeIiTdPDsmFJJX YM/QOX9ocrGiShaXWfqCqAtBMZJRYP5EqrBiGTbnSilFKBbiQPOg9AgOQuEaVvSGTYfn +JgzdV04AfMZiX4jburVDZ8ufLr9d4fcfghppzFi4LqfSd/13CQZlA11l40hSZz0xGy3 FOww== X-Gm-Message-State: APjAAAWjr0L52nQY77Gc+/PbX7azTCDr1dVFEGH1zxEH/vt0gBHMZOpa vRuMrnfghdHDdugfyATMSs4= X-Received: by 2002:ac2:48a5:: with SMTP id u5mr52810601lfg.62.1564395279979; Mon, 29 Jul 2019 03:14:39 -0700 (PDT) Received: from localhost.localdomain (broadband-188-32-48-208.ip.moscow.rt.ru. [188.32.48.208]) by smtp.googlemail.com with ESMTPSA id y12sm11814834lfy.36.2019.07.29.03.14.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jul 2019 03:14:39 -0700 (PDT) From: Denis Efremov To: Bjorn Helgaas Cc: Denis Efremov , "David S. Miller" , sparclinux@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] sparc/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER Date: Mon, 29 Jul 2019 13:14:01 +0300 Message-Id: <20190729101401.28068-6-efremov@linux.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190729101401.28068-1-efremov@linux.com> References: <20190729101401.28068-1-efremov@linux.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function pci_resource_to_user() was turned to a weak one. Thus, sparc-specific version will automatically override the generic one and the HAVE_ARCH_PCI_RESOURCE_TO_USER macro should be removed. Signed-off-by: Denis Efremov --- arch/sparc/include/asm/pci.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/sparc/include/asm/pci.h b/arch/sparc/include/asm/pci.h index cfec79bb1831..4deddf430e5d 100644 --- a/arch/sparc/include/asm/pci.h +++ b/arch/sparc/include/asm/pci.h @@ -38,8 +38,6 @@ static inline int pci_proc_domain(struct pci_bus *bus) #define arch_can_pci_mmap_io() 1 #define HAVE_ARCH_PCI_GET_UNMAPPED_AREA #define get_pci_unmapped_area get_fb_unmapped_area - -#define HAVE_ARCH_PCI_RESOURCE_TO_USER #endif /* CONFIG_SPARC64 */ #if defined(CONFIG_SPARC64) || defined(CONFIG_LEON_PCI) -- 2.21.0