Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3237125ybi; Mon, 29 Jul 2019 03:15:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjxOkl78qnIfZa7uanTK2lCPDOk966MAvivEXLfk0BHZ4wAcaUPqZnD82GAupEBmyswxLL X-Received: by 2002:a17:90a:fe5:: with SMTP id 92mr112574021pjz.35.1564395334464; Mon, 29 Jul 2019 03:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564395334; cv=none; d=google.com; s=arc-20160816; b=EqimnxQnuefZftoNKCBFFZdge46WPysjFA3QhWtwF/v8vHFmkoUnu9brzt1LstXBBu BxRT+7PYnApyEU4CVqVmeV2OwhO/YvGPDSDkNYxFsdO/D6nBcPPuGK6ZqcA5CHi6LcTU OU+qtTvKr3y2b1+CdbPqRwdErXvEIF55uZeATQNEkfKuIc31ITlBA56pHF3LHOVoCdln pH1MyZsNg/2hoZ/MBstXWyBUybWeQ/x7Pq2Ga0s/a2/o3D2vIlgXB0hcfP/PqDWgwvfN AQj3s6Ist2u6VWmcxgAfHfOajGBuaCZlpG6pz/MvC2mp9jVD6aNLlaIhQeuMzlHW2lyI f/Kg== 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=TmxcCXhXwRYGEoMeDwlU1eEbMiMpwlUebLffY1+PjIY=; b=ddYfcBsUZlcRr/WZCNnF4ZJ+WHUX8l6JBBMaoYl5GM3EbFaeGAatd42PBXvL8ib8gW 9jUr0fFqR1NzBYYCvmCc6XpKJ14qZVootdvNrGuzBi1Xb2FgAxCsNR8HtmNZKDQAi26a mz2r+VrjezgRh8k5+HCYYtw6Qz4HqInfdKdIb+hzS3aLjA3I0UJwhOsNKy8U4kG+AEs4 cLPmIygW3Yb76yNFbDQW39epVDBFYFWVvpaASdBBDd1yChx7kNOMEIydsjtqF9UHYiNq fiLcZjNFnSThbnDUa0FH8TCp7D+AHX9MnTnSDWkg5k/xD8grYTfT3+b9SYKmIp8gqxSk /iyA== 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 a19si30084430pgw.234.2019.07.29.03.15.19; Mon, 29 Jul 2019 03:15:34 -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 S1728266AbfG2KOg (ORCPT + 99 others); Mon, 29 Jul 2019 06:14:36 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:36328 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbfG2KOg (ORCPT ); Mon, 29 Jul 2019 06:14:36 -0400 Received: by mail-lf1-f66.google.com with SMTP id q26so41681835lfc.3; Mon, 29 Jul 2019 03:14:34 -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=TmxcCXhXwRYGEoMeDwlU1eEbMiMpwlUebLffY1+PjIY=; b=HWioYTFXekM3wEsxeMggM8LTqCjOmuGnAlfVYr28d1I9tseRen9NBlQZMwslqqYUGN wsYfLEy86WLXT2bccXqyh8ai35sVjLJ4JQNoOWg1NTcnFE9vEqJO01TjF4GgHQOh6Tw+ ENNIO2resVRih8TY5U86Bi17JU5mtp2y9zsmykvCjcYzmIujDBANYYO/E3pCEOYlLG/r goa9eK+4Zh2mGLeDkep0PWEMbp3upTERBNWZCHDa0pQb90ER9qjywTWcOL1QAx/xurk2 DLX5JX47sL5nYia1hDUDte4ruqH/hvbKDBc+M8ICDlTuZxBXwu5q1PKh1/L7s+6/0S3S MBqA== X-Gm-Message-State: APjAAAV0GtM4fJVBJuZcOC7kMlaQUcKGPlIxdM7zxAue0TXeS8OeYvxA BwbeQEeVmb1GUzTJXP/cjUo= X-Received: by 2002:ac2:4d1c:: with SMTP id r28mr49442744lfi.159.1564395274249; Mon, 29 Jul 2019 03:14:34 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jul 2019 03:14:33 -0700 (PDT) From: Denis Efremov To: Bjorn Helgaas Cc: Denis Efremov , Michal Simek , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/5] microblaze/PCI: Remove HAVE_ARCH_PCI_RESOURCE_TO_USER Date: Mon, 29 Jul 2019 13:13:58 +0300 Message-Id: <20190729101401.28068-3-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, microblase-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/microblaze/include/asm/pci.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index 21ddba9188b2..7c4dc5d85f53 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h @@ -66,8 +66,6 @@ extern pgprot_t pci_phys_mem_access_prot(struct file *file, unsigned long size, pgprot_t prot); -#define HAVE_ARCH_PCI_RESOURCE_TO_USER - /* This part of code was originally in xilinx-pci.h */ #ifdef CONFIG_PCI_XILINX extern void __init xilinx_pci_init(void); -- 2.21.0