Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp130050pxk; Tue, 15 Sep 2020 23:23:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDcYe+VJiB8yONrQs6sYfYxYYOOrLNoCNiuw/oI3K986j6z+iHblKZuvlCBFFTYTUPJQxi X-Received: by 2002:a05:6402:17da:: with SMTP id s26mr25938663edy.221.1600237434929; Tue, 15 Sep 2020 23:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600237434; cv=none; d=google.com; s=arc-20160816; b=E5j4iXAgvvpH/bkXgekPDTk7CNJYhWmQyp1/noDpQ9OEDhrCFeOPAf9iTWxBvnEQo6 PTcklUZ88NAJNRNgEMNFy8Y7vib7/uu3kMTmYomLIP9Tq0xHcrsEHuIyKgB0QsUQt9JZ EpscwmgkGkj4riD2g3bWYhwLmtiTdTH68WkR1oJCNLaUd5cgxej/aNRzpXZz3ZOAhCn0 zLF1j906fYGyXp42z8EHQhylPvefSjpfDluH+kknpxvYecIefSEnmW+9w7c+pCEKTzH5 r/vgfGMROFWgHdXwg+JFn7NyEi8UfWwzLYrxvOrfcmkFelhbjgKaTHVp44kbRnBF7zr5 MgJg== 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 :dkim-signature; bh=OKUyp8qmBFdjgjSYZqN9BFape1Q+ujb81GF9JqUrmy4=; b=jDJHKSgxojiGAkeWGtxrN5ThFAYt09hMEc93MP/42TRSbyeyGAVtA6vDpxUGw2fX+L u7VfkVAfHdIXUZo0DZTUb9MdhvCj9dNP9uBogqOtNzZ1wlcQWL+WN6/2t7hzhREeocWm Jdzb+9GuoDyGIp2psy6qXTMiJLWUxJDxZhiExme6NdL+zFcUCOWuKtJ5y5GMU8m3C32H K1v2Mgy8B2+JMhad6/Qi6R8KMceU6BqxVhGp7SW/e1ljdC2hckAnB5dVQHUkqzeM90cw 5fKQKbMbY8fby7x1FANwqWagpRnSgC57VATNy6XB9XweErmJ3YP+BIWWwbMJWTQfan+E 41tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=iv+7DX+S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q13si11766510edc.610.2020.09.15.23.23.32; Tue, 15 Sep 2020 23:23:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=iv+7DX+S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726411AbgIPGUA (ORCPT + 99 others); Wed, 16 Sep 2020 02:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726068AbgIPGTe (ORCPT ); Wed, 16 Sep 2020 02:19:34 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B509C06174A; Tue, 15 Sep 2020 23:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=OKUyp8qmBFdjgjSYZqN9BFape1Q+ujb81GF9JqUrmy4=; b=iv+7DX+SEc3dNxqeIV8/nkfVbB b8Lum5kjOnVL9p18MOyOEipnedUAVsZV998T08r8nDJ02qfiuI/OgxE6TrNC1S/sLldjIpqNBxhiw MA3WIZB3Y4Zzb/Hk6uowbpUfXK9eR3CMyPDDGitUJIey9L4b8l93eS6J6bspuTpwC4xJ85gf6KbPf bVB8wuuk2DiR3MiZ5+m9zHgRDn6NFKEb9pbvhd9oRnAcmCJDWr66tQ9dczrwhPtFFS2fb/z2L+Etj MH01yErQGFs2r2jEivDe8YxNcCLorZwZ3us0tOZdbOVFAw7gUguBFGXYXX0YwNXWa827pKuo7Uftf hSyixgbw==; Received: from 089144214092.atnat0023.highway.a1.net ([89.144.214.92] helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIQmo-0006uo-Dj; Wed, 16 Sep 2020 06:19:22 +0000 From: Christoph Hellwig To: iommu@lists.linux-foundation.org, Russell King , Santosh Shilimkar , Greg Kroah-Hartman Cc: Jim Quinlan , Nathan Chancellor , Florian Fainelli , Robin Murphy , Rob Herring , Frank Rowand , Ohad Ben-Cohen , Bjorn Andersson , linux-remoteproc@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/6] ARM/dma-mapping: remove a __arch_page_to_dma #error Date: Wed, 16 Sep 2020 08:14:54 +0200 Message-Id: <20200916061500.1970090-2-hch@lst.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200916061500.1970090-1-hch@lst.de> References: <20200916061500.1970090-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The __arch_page_to_dma hook is long gone. Signed-off-by: Christoph Hellwig --- arch/arm/include/asm/dma-mapping.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h index bdd80ddbca3451..70d95677656044 100644 --- a/arch/arm/include/asm/dma-mapping.h +++ b/arch/arm/include/asm/dma-mapping.h @@ -23,10 +23,6 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) return NULL; } -#ifdef __arch_page_to_dma -#error Please update to __arch_pfn_to_dma -#endif - /* * dma_to_pfn/pfn_to_dma/dma_to_virt/virt_to_dma are architecture private * functions used internally by the DMA-mapping API to provide DMA -- 2.28.0