Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1968127pxk; Mon, 14 Sep 2020 00:39:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwENhqkjdn5DkBMXjFV7oTiTuMVenxM2DqU9RPQ4ua8ckct6myfpKpMQqnxFy1f4+jR/AKm X-Received: by 2002:a17:906:7cb:: with SMTP id m11mr13802507ejc.41.1600069158324; Mon, 14 Sep 2020 00:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600069158; cv=none; d=google.com; s=arc-20160816; b=csbMDxEvN75xJiwRRDXE9QfSvnDnp1G6ten8OnTEWMBAta37vpU1TnfxrrExh0nwhS 9XjcYzZlQnRy5H0enwc1KZV5EyCppH0Qc0oziamx3hNMPy46NA6mSEPvI8RhyK7Sp1Bz BC7sqaRTzHe0nKstSxCp2RoZOYp5CrCGcme65PxXLr5f4gW20jDkDWzhgIyrA6NBYceZ yov+I/okFFpdUm3NU+oLeeWYc17y4Qof/mchHKZ9cxPRrNgMqVCSjGY4RNMnUSo3TRhL tnY+g22I3wu/Uljv17Bl+MsHiQvT8xOhuSzuIK8w/sEqOuvoP4+BMtHEJ1avqJnVk0aG rlCg== 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=CsW8rAO6YUFoun2lsUt8KqDIzffsq/6xdv3okrJ9Ipw90kyTRstp/sUAR5IThkNG2i hjF5+rKmABmZyD6Sn3yniyl0hntldu1Ivf1+lQQxyv1QwPCSmJVyDAfYewnhJo6Z3YZy IiUl6r+rcp/rWjG96XuhOh6V1tjxtkuR1och+UFK44zLR3s0Vi7IhphteNE8L/yrBvI8 it7/6frpRd+VNcObSQyqwmX4LJDLGt13le0jDa4gkQndHR2WJE9KGtjGxRy6pg6cnnzQ sKY8tHQcc0gX8DrAq874Z+oxCfiZfHSCsK+SuMMNad1Kur43kNXfraJ/ZkJ80BXW2tGQ hqgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=U2vMtdoh; 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 yr3si874225ejb.322.2020.09.14.00.38.55; Mon, 14 Sep 2020 00:39:18 -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=U2vMtdoh; 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 S1726114AbgINHiT (ORCPT + 99 others); Mon, 14 Sep 2020 03:38:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725967AbgINHiQ (ORCPT ); Mon, 14 Sep 2020 03:38:16 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98CEEC06174A; Mon, 14 Sep 2020 00:38:15 -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=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 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: 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 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