From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx144.postini.com [74.125.245.144]) by kanga.kvack.org (Postfix) with SMTP id 4AC726B00E8 for ; Tue, 27 Mar 2012 22:33:30 -0400 (EDT) Message-ID: <4F7275FE.8000100@mprc.pku.edu.cn> Date: Wed, 28 Mar 2012 10:22:54 +0800 From: Guan Xuetao MIME-Version: 1.0 Subject: Re: [PATCHv2 09/14] Unicore32: adapt for dma_map_ops changes References: <1332855768-32583-1-git-send-email-m.szyprowski@samsung.com> <1332855768-32583-10-git-send-email-m.szyprowski@samsung.com> In-Reply-To: <1332855768-32583-10-git-send-email-m.szyprowski@samsung.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Marek Szyprowski Cc: linux-kernel@vger.kernel.org, Benjamin Herrenschmidt , Thomas Gleixner , Andrew Morton , Arnd Bergmann , Stephen Rothwell , FUJITA Tomonori , microblaze-uclinux@itee.uq.edu.au, linux-arch@vger.kernel.org, x86@kernel.org, linux-sh@vger.kernel.org, linux-alpha@vger.kernel.org, sparclinux@vger.kernel.org, linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mips@linux-mips.org, discuss@x86-64.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linaro-mm-sig@lists.linaro.org, Jonathan Corbet , Kyungmin Park , Andrzej Pietrasiewicz , Kevin Cernekee , Dezhong Diao , Richard Kuo , "David S. Miller" , Michal Simek , Paul Mundt , Richard Henderson , Ivan Kokshaysky , Matt Turner , Tony Luck , Fenghua Yu On 03/27/2012 09:42 PM, Marek Szyprowski wrote: > diff --git a/arch/unicore32/mm/dma-swiotlb.c b/arch/unicore32/mm/dma-swiotlb.c > index bfa9fbb..4cf5f0c 100644 > --- a/arch/unicore32/mm/dma-swiotlb.c > +++ b/arch/unicore32/mm/dma-swiotlb.c > @@ -17,9 +17,23 @@ > > #include > > +static void *unicore_swiotlb_alloc_coherent(struct device *dev, size_t size, > + dma_addr_t *dma_handle, gfp_t flags, > + struct dma_attrs *attrs) > +{ > + return swiotlb_alloc_coherent(dev, size, dma_handle, flags); > +} > + > +static void unicode_swiotlb_free_coherent(struct device *dev, size_t size, The bit is ok for me. Only a typo here, please change unicode to unicore. Thanks and Regards. Guan Xuetao -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org