From patchwork Mon Sep 14 07:33:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 11773115 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 51DB2618 for ; Mon, 14 Sep 2020 07:38:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0D6E7217BA for ; Mon, 14 Sep 2020 07:38:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kN2P+Wbw"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="U2vMtdoh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0D6E7217BA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=g+7Y9YwX1aDv/wmwelrE9TkaP0KcobilUkBLWqYGJ6w=; b=kN2P+WbwclIRWKo0E6ClS6ZKp VAynk2aclfWhx1AQnALYd11Xg5RqT34h/UNuZLxqg5iHkOxytF0T1tdYDCLoMvsx0rsQg/KY4NJl/ m3EFbO5rZgtKE5qtZXenQLp9bwM1LUpGQUB1XqCVz3E1Zaa1rAArbCOjjYQ54s9yTqrdal0azBLhR UGLXI36Dro5hYazLQSX+ymXvdIPQYI2aVMk/GA4lFTDNq8IYu9CBjSgD2yBqTyL6KAPv4msuvRN+n oYpBTbgopfatiA8rYgSS1+pP8/x6DRjTunIj2X1SXtG30adGNYCVv9J228DZYlvYrJfSitRdyIJWe 35isiTv+Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHj3v-0002Ya-UZ; Mon, 14 Sep 2020 07:38:07 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHj3u-0002YQ-Q4 for linux-arm-kernel@merlin.infradead.org; Mon, 14 Sep 2020 07:38:06 +0000 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=U2vMtdohbOjVoUrKQIMhGqPZA/ DShYTejhFMH4CYCuN0hYbps200QSoo5ywh0ZMizEOpuwmxQE59dgz+LJ0px5+HCW+pk2Z8tNm3NKB YEiBgU6PoZpeM5ZW8A6TjU2xFAXVjsQCLa84wHFc35Ct0inh18DNI0hyAa3VTrnuGXsq+81Axebqw nRQfQ9Lw9Cm4S8FlcayXIFXfei2guOXtwpZ6jugq/ptoNSqvziCwv+FKdI1Znie6kn02dmoCLd31a 9RlV7h8J391bvd8OmcAI4KavLPKzKmZbHoJgAB7NDsboqiuexQNGuETlGFUbmjPD8bbu5iGeMx2ZM X7G+wtIA==; 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 1kHj3t-0008WF-9c; Mon, 14 Sep 2020 07:38:05 +0000 From: Christoph Hellwig To: iommu@lists.linux-foundation.org, Russell King , Santosh Shilimkar , Greg Kroah-Hartman Subject: [PATCH 1/6] ARM/dma-mapping: remove a __arch_page_to_dma #error Date: Mon, 14 Sep 2020 09:33:38 +0200 Message-Id: <20200914073343.1579578-2-hch@lst.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200914073343.1579578-1-hch@lst.de> References: <20200914073343.1579578-1-hch@lst.de> MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ohad Ben-Cohen , devicetree@vger.kernel.org, Florian Fainelli , linux-sh@vger.kernel.org, Frank Rowand , linux-usb@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , linux-acpi@vger.kernel.org, Rob Herring , Jim Quinlan , linux-pci@vger.kernel.org, Nathan Chancellor , Robin Murphy , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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