Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4868463imm; Tue, 9 Oct 2018 06:30:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV60bv6ArLVooHGQW+1HmwpTmfD/AGing4yVv6F4c+BqoFt+JQnesZqCGHOsCI78zWF0OTu2e X-Received: by 2002:a63:fb09:: with SMTP id o9-v6mr25675049pgh.333.1539091855711; Tue, 09 Oct 2018 06:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539091855; cv=none; d=google.com; s=arc-20160816; b=GpCrf9/N0dI218123Yk+fGe3B7wF4cbieHszXrhreLrDx6ljoUE2ZFwU4+u25d/jG/ /6Z0RlaawuQ3ZXNq1xYC/WMkSNva8JhGGXLS/4OJEVnfgDfaJ34eIjlgVX+DKNqbX+E+ bhgAgNbH1i9Ag6bAl71GcIvplp8fiF3van4ZI/S4QCgqQIMf5MCwByitifonTISZUMw4 F3dXRqDEJMMDbQmedLWHHNjhQcZIL24v1i9ipPGGj1oyt/sfZXDwwEaF/xX0r0dWkIt5 QNdSiQ4rW9kT9ZViauISZZC0Rj+VbBWfqOUv0fQtixjnZXIovc2pks5YlXpm4jXZus1R R/DA== 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=g770qJx2ODC0LvNyFrLPq9WG2MTi98G0QMTJr1eeeBQ=; b=qO79K77/GwJuobURUbh3iIVndDCm+0F0OzFOx26hswgzBIwX7qNEVlaUDqJlhHa9bk yCvUQ/z3yETrCtlrMVFW1a7Nlp3MteH2+7+zXD/IF1uJ/jdZAryEVLqZqftRyBHvJYi4 kvs1TQsJjqg2Yjclmk2m46jxH/YWXgsdjXqFvyJs9PtRW7z3UGiHIVr3lhMjuLdCEU/g QB1lWX1hjAOKw8sL5Mm2AtJVa8F5Rd4JBLpe3k98J5+GmDaxhOz+2RjlKWsn2gym0H2y +7BiBQlkpLoXBrdlr/P3Fve1Ngjavgc5vZv+/S13txTl0/D/hTqYLU02F3FSSydskJs1 FC1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=JGxUQllD; 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 u22-v6si20614180pfn.111.2018.10.09.06.30.40; Tue, 09 Oct 2018 06:30:55 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=JGxUQllD; 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 S1727002AbeJIUqd (ORCPT + 99 others); Tue, 9 Oct 2018 16:46:33 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:48018 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbeJIUmW (ORCPT ); Tue, 9 Oct 2018 16:42:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=g770qJx2ODC0LvNyFrLPq9WG2MTi98G0QMTJr1eeeBQ=; b=JGxUQllD35wUfXqxSHIwA+orRm CFPVkpS9mbPtjCUVc+9xbf6+ffv6ajEaphZmcNYH+4561W/eLs6Bvr1kQ47JCpqZhsdap1G2P+QyH UAiMMeoEZw/rJbAErzE7+tfeY27A66dokl7X6QarLzlbjZkStu6PHxkZ9dY1bZNff2o+PHErllu0x fBtyCrd4JuCo3KRLAK6nNjfH503TErYCh+P77wzsu53Hz3NjnL3W/RO5N43Yk4IyxbiEGEFu5YB0Y IcAyZehRvryfZtzgAhDKTqakysayk/d01KqBe8rNIA7KVZYKHAGxAWuSi4qqdBTTMQ6UITGJ73s9x nOB1f6LQ==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9s0Z-0008V7-4A; Tue, 09 Oct 2018 13:25:07 +0000 From: Christoph Hellwig To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, iommu@lists.linux-foundation.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/33] powerpc/dma: remove the unused ARCH_HAS_DMA_MMAP_COHERENT define Date: Tue, 9 Oct 2018 15:24:29 +0200 Message-Id: <20181009132500.17643-3-hch@lst.de> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181009132500.17643-1-hch@lst.de> References: <20181009132500.17643-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.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 Signed-off-by: Christoph Hellwig Acked-by: Benjamin Herrenschmidt --- arch/powerpc/include/asm/dma-mapping.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/dma-mapping.h b/arch/powerpc/include/asm/dma-mapping.h index 8fa394520af6..f2a4a7142b1e 100644 --- a/arch/powerpc/include/asm/dma-mapping.h +++ b/arch/powerpc/include/asm/dma-mapping.h @@ -112,7 +112,5 @@ extern int dma_set_mask(struct device *dev, u64 dma_mask); extern u64 __dma_get_required_mask(struct device *dev); -#define ARCH_HAS_DMA_MMAP_COHERENT - #endif /* __KERNEL__ */ #endif /* _ASM_DMA_MAPPING_H */ -- 2.19.0