From patchwork Thu Nov 8 07:46:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 1714071 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 64B0F3FCDE for ; Thu, 8 Nov 2012 07:50:23 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TWMqb-0007Ts-OZ; Thu, 08 Nov 2012 07:48:23 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TWMpZ-00074U-6g for linux-arm-kernel@lists.infradead.org; Thu, 08 Nov 2012 07:47:18 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MD500FYJSA214F0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 08 Nov 2012 16:47:16 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-2e-509b63844e3a Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 03.C1.01231.4836B905; Thu, 08 Nov 2012 16:47:16 +0900 (KST) Received: from localhost.localdomain ([106.116.147.30]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MD500HY3S9VZLG0@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 08 Nov 2012 16:47:16 +0900 (KST) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/7] ARM: dma-mapping: remove init_consistent_dma_size() stub Date: Thu, 08 Nov 2012 08:46:23 +0100 Message-id: <1352360783-17523-8-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1352360783-17523-1-git-send-email-m.szyprowski@samsung.com> References: <1352360783-17523-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEJMWRmVeSWpSXmKPExsVy+t9jAd2W5NkBBhv281tsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6MO1c+sRb84axoWPiJuYFxBUcXIyeHhICJxMZ5G1khbDGJC/fW s3UxcnEICSxilPh8+A8jhLOBSWL/qkZGkCo2AUOJrrddbCC2iICGxJSux+wgRcwClxklvh5p YQZJCAv4Sux+vJYJxGYRUJXY/O8KWAOvgIfE5x2PgBo4gNYpSMyZZAMS5hTwlPj59j07iC0E VPJ/6gHWCYy8CxgZVjGKphYkFxQnpeca6hUn5haX5qXrJefnbmIE+/yZ1A7GlQ0WhxgFOBiV eHg1JGcHCLEmlhVX5h5ilOBgVhLhXeYMFOJNSaysSi3Kjy8qzUktPsQozcGiJM7b7JESICSQ nliSmp2aWpBaBJNl4uCUamD0/puYu3vKT7OjwZrL/4RLq2b9ONsqu0+fZ4bbY82r29OqDZMX VqQv8fopq+Tu4/Cy/9AVsRmS6uu/59jc2dA5ccmxSyKFHP80t7/9uln/p9qxhCO5a8V2C8+M jxQWaat3v/10SvfEh7MiNwRO2RAy6d3qhpsC9h/t3zh/M7ytwB4vd+CCkPtzJZbijERDLeai 4kQAGJZUcPUBAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121108_024717_585209_83448FFC X-CRM114-Status: GOOD ( 10.23 ) X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Olof Johansson , Kyungmin Park , Russell King - ARM Linux , Arnd Bergmann , Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Since commit e9da6e9905e639b0 ("ARM: dma-mapping: remove custom consistent dma region") setting consistent dma memory size is not longer required. All calls to this function has been already removed, so the init_consistent_dma_size() stub can also be gone. Signed-off-by: Marek Szyprowski --- arch/arm/include/asm/dma-mapping.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h index 2300484..8ea02ac 100644 --- a/arch/arm/include/asm/dma-mapping.h +++ b/arch/arm/include/asm/dma-mapping.h @@ -211,13 +211,6 @@ static inline void dma_free_writecombine(struct device *dev, size_t size, extern void __init init_dma_coherent_pool_size(unsigned long size); /* - * This can be called during boot to increase the size of the consistent - * DMA region above it's default value of 2MB. It must be called before the - * memory allocator is initialised, i.e. before any core_initcall. - */ -static inline void init_consistent_dma_size(unsigned long size) { } - -/* * For SA-1111, IXP425, and ADI systems the dma-mapping functions are "magic" * and utilize bounce buffers as needed to work around limited DMA windows. *