Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3239257ybi; Mon, 29 Jul 2019 03:17:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyw/QZPKXCW0fOc83qgHwFetz7Mh4a/2kBCuaGazGdTeb6wu6+Hl9f9NFrom4VCLQlU6qAP X-Received: by 2002:a17:90a:bf92:: with SMTP id d18mr114033581pjs.128.1564395455719; Mon, 29 Jul 2019 03:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564395455; cv=none; d=google.com; s=arc-20160816; b=oGMAWXBgK7kd1PlyNEjJkYgNU2eIeZPvwfclDTa2Z6ADlYJFvIHZSzDbhLiDc8UnAy kSQF8YmVtrzLBHzypAYAOnCUF2MRK4yBvFVEUYn8+kL6MkJ2mG3T/9uOlaCYewBaI945 +8WvFbvTVbNhER7jepOJzWMatx+sDKoN+vJpn/H8JwhjvRcvqz59fH3OJTBt5Jme98sO HAORpoHJHttSyOdgbcssPG00OXNg+1w++R75MKSEbWN/oPqNBSYbcDSuvOOfHxAjQYzk nJ38aK5Hfs3B6DlPlG0XUunFapwJcHaE4ZDygzn0HPhgtTl/epsHQPtKEu4Hj42x8K3H 6ULg== 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=mhScrfvzfJHOaoJ1E3ndJMrRVW60NNkjG9R46Biny8M=; b=qS0HOhXi8nCZJ31/FjA0QK86dbtNjwIi6beXhSXi9OiEz9jiH8K3vVS3YzE8THxkxV 9OGoAHs826eqRoY0QnJGB9wBAMfKviUIcgGrbN/hYe0bc8EkevA1Z24KPfGogI0Uu6Hd N8rwv66Z1MkhhyuJ6QPXRw+zbA5TU1XRAzZJQkUxVIiPJVc0kbZYDHeNlBeQFoV8k+Qd /pyLGIbKy0UCuCszWRYoaIaGH3cyzC+HYr8UA2gMr/QlmleQJj+sj7S5i8DUhibzKUYQ EGBeVnCDdQ+P1Xch+zykUco7abzAVfDrgqTY2O8ewV9SmL1N4L5/jVKkZ5TYL+saJ9pP pUSQ== 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 o11si24276365pjb.30.2019.07.29.03.17.20; Mon, 29 Jul 2019 03:17:35 -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 S1728293AbfG2KOk (ORCPT + 99 others); Mon, 29 Jul 2019 06:14:40 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:34429 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbfG2KOj (ORCPT ); Mon, 29 Jul 2019 06:14:39 -0400 Received: by mail-lf1-f67.google.com with SMTP id b29so34404212lfq.1; Mon, 29 Jul 2019 03:14:37 -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=mhScrfvzfJHOaoJ1E3ndJMrRVW60NNkjG9R46Biny8M=; b=PQD+V2vmqKcBSfcY8EVrs38RSYxD5piYNtIZwlBCZHv/BVlbTXFrhOlTryU8OJA19O Lwvwgnoiz0Jv4+HJiarR+WD0ASmjg9lKsTDFhOdpGOjgGIzKUWu7SeIJTyoN2FEE6T8R YgL8hqxOomX67cljEdplzU1doZ209G4kbTek/zv8dQT//s/Ukm1wAF7R/v6v1eUqI/5g QivOwT0GWD9LjLSvXSXCXUNy1m/uqVP7Yzg0kkXVYeD/hmgCvDfRWBcGOzWg38BrCEv1 nhO0UrKIPTjfsTrqmEBOX4FRjIOqawAbNZdJ4Nsb6CN52f012OE9VW7yU5Ny/maxUdGg OpeQ== X-Gm-Message-State: APjAAAVsW1981ZuhwbG0x+E423ie5fKBMoYGqmA/Ep+YVVgWJJ4RXlIm 3yh3P3Kqr7dG5Y/IKiZiuVw= X-Received: by 2002:a19:f806:: with SMTP id a6mr37949567lff.102.1564395276889; Mon, 29 Jul 2019 03:14:36 -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.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jul 2019 03:14:36 -0700 (PDT) From: Denis Efremov To: Bjorn Helgaas Cc: Denis Efremov , Ralf Baechle , Paul Burton , James Hogan , linux-mips@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] mips/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER Date: Mon, 29 Jul 2019 13:13:59 +0300 Message-Id: <20190729101401.28068-4-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, mips-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/mips/include/asm/pci.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/include/asm/pci.h b/arch/mips/include/asm/pci.h index 436099883022..6f48649201c5 100644 --- a/arch/mips/include/asm/pci.h +++ b/arch/mips/include/asm/pci.h @@ -108,7 +108,6 @@ extern unsigned long PCIBIOS_MIN_MEM; #define HAVE_PCI_MMAP #define ARCH_GENERIC_PCI_MMAP_RESOURCE -#define HAVE_ARCH_PCI_RESOURCE_TO_USER /* * Dynamic DMA mapping stuff. -- 2.21.0