From patchwork Tue Jun 17 17:07:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Salter X-Patchwork-Id: 32083 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CDEEC206A0 for ; Tue, 17 Jun 2014 17:07:54 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id j17sf43328129oag.0 for ; Tue, 17 Jun 2014 10:07:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=XyP94K3kMuy+WoaC+PkrKPWr/9OJFpRhHr5UAoL7Y9s=; b=a0BRIRm1XSFDs6apgVC12z0sN/DoGkOvNwI1oHtvbWRX2I6yRJ1Jtxz/nuPMDDbOpt peXlLanc9DClt+Tj3br4wb6PjuDBGkjdX0fE9CEFNyZsCKLkRlU+yV/7M/q7XZM4Ejvu MBsWX/ijp+Lk8n7ufgTBNJbL7XofCfYkpOhUbSqrJvMO3+h00boyhAblXYqTC3ufTgQx b64xtqv+NmusY71ZrOayJ1b3vGC4t7q+baDXnPjql8GmpL3vXxQ3vcPEQhFuJmJtT+xj Vu3hTHxR1v+X+wbT8Vw67p1hyRXmUx6gPQZOLt7N4l7zSf9JAG7lNQviBItk8vH9184F 8fWw== X-Gm-Message-State: ALoCoQkv7el7hGBl5oWlYGEuz5ZvRbrzmE/+gPi55gshloIv+OloaYfpJtZw7DjUlleznjrUNHws X-Received: by 10.182.86.5 with SMTP id l5mr1561696obz.32.1403024874326; Tue, 17 Jun 2014 10:07:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.133 with SMTP id t5ls4911236qgt.43.gmail; Tue, 17 Jun 2014 10:07:54 -0700 (PDT) X-Received: by 10.58.160.10 with SMTP id xg10mr23569415veb.0.1403024874183; Tue, 17 Jun 2014 10:07:54 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id br4si5715461vcb.106.2014.06.17.10.07.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Jun 2014 10:07:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id ij19so6596233vcb.22 for ; Tue, 17 Jun 2014 10:07:54 -0700 (PDT) X-Received: by 10.220.44.141 with SMTP id a13mr1447846vcf.71.1403024874034; Tue, 17 Jun 2014 10:07:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp224821vcb; Tue, 17 Jun 2014 10:07:53 -0700 (PDT) X-Received: by 10.68.160.163 with SMTP id xl3mr35036094pbb.39.1403024873242; Tue, 17 Jun 2014 10:07:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bu3si15143904pbb.98.2014.06.17.10.07.52; Tue, 17 Jun 2014 10:07:52 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933720AbaFQRHm (ORCPT + 27 others); Tue, 17 Jun 2014 13:07:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12352 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933099AbaFQRHl (ORCPT ); Tue, 17 Jun 2014 13:07:41 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5HH7FHR007054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Jun 2014 13:07:15 -0400 Received: from deneb.redhat.com (ovpn-113-44.phx2.redhat.com [10.3.113.44]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5HH7Ead016020; Tue, 17 Jun 2014 13:07:15 -0400 From: Mark Salter To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Salter Subject: [PATCH] arm64: remove define of ARCH_HAS_DMA_GET_REQUIRED_MASK Date: Tue, 17 Jun 2014 13:07:03 -0400 Message-Id: <1403024823-2180-1-git-send-email-msalter@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: msalter@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Arm64 defines ARCH_HAS_DMA_GET_REQUIRED_MASK but provides no dma_get_required_mask() function. This leads to a link error in drivers using dma_get_required_mask(). Remove the define so the default dma_get_required_mask() is available. Signed-off-by: Mark Salter --- arch/arm64/include/asm/dma-mapping.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/include/asm/dma-mapping.h b/arch/arm64/include/asm/dma-mapping.h index 3a4572e..dc82e52 100644 --- a/arch/arm64/include/asm/dma-mapping.h +++ b/arch/arm64/include/asm/dma-mapping.h @@ -26,8 +26,6 @@ #include #include -#define ARCH_HAS_DMA_GET_REQUIRED_MASK - #define DMA_ERROR_CODE (~(dma_addr_t)0) extern struct dma_map_ops *dma_ops; extern struct dma_map_ops coherent_swiotlb_dma_ops;