From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 2/2] asm-generic/dma-mapping-broken.h: Provide dma_alloc_attrs()/dma_free_attrs() Date: Sat, 22 Dec 2012 13:51:32 +0100 Message-ID: References: <1355679527-1207-1-git-send-email-geert@linux-m68k.org> <1355679527-1207-2-git-send-email-geert@linux-m68k.org> <201212171612.44126.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <201212171612.44126.arnd@arndb.de> Sender: linux-m68k-owner@vger.kernel.org To: Arnd Bergmann Cc: linux-arch@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org List-Id: linux-arch.vger.kernel.org Hi Arnd, On Mon, Dec 17, 2012 at 5:12 PM, Arnd Bergmann wrote: > On Sunday 16 December 2012, Geert Uytterhoeven wrote: >> Since commit 0049fb2603b7afb1080776ee691dfa5a3d282357 ("OMAPFB: use >> dma_alloc_attrs to allocate memory") we have one non-arch user of >> dma_{alloc,free}_attrs(). >> >> Hence provide these functions, as wrappers around >> dma_{alloc,free}_coherent(). >> >> Note that most architectures do it the other way around. But as these are >> dummy functions, we don't care. >> >> Signed-off-by: Geert Uytterhoeven >> --- >> include/asm-generic/dma-mapping-broken.h | 16 ++++++++++++++++ >> 1 files changed, 16 insertions(+), 0 deletions(-) > > Acked-by: Arnd Bergmann Thanks! > Maybe you can put this one in your m68k tree along with your other > patch. Will do. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vc0-f176.google.com ([209.85.220.176]:64015 "EHLO mail-vc0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059Ab2LVMvf (ORCPT ); Sat, 22 Dec 2012 07:51:35 -0500 MIME-Version: 1.0 In-Reply-To: <201212171612.44126.arnd@arndb.de> References: <1355679527-1207-1-git-send-email-geert@linux-m68k.org> <1355679527-1207-2-git-send-email-geert@linux-m68k.org> <201212171612.44126.arnd@arndb.de> Date: Sat, 22 Dec 2012 13:51:32 +0100 Message-ID: Subject: Re: [PATCH 2/2] asm-generic/dma-mapping-broken.h: Provide dma_alloc_attrs()/dma_free_attrs() From: Geert Uytterhoeven Content-Type: text/plain; charset=UTF-8 Sender: linux-arch-owner@vger.kernel.org List-ID: To: Arnd Bergmann Cc: linux-arch@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Message-ID: <20121222125132.46OKdOAYdv6upmR6pUSjwnGGqgmfLYpu8nnXPp_TVJs@z> Hi Arnd, On Mon, Dec 17, 2012 at 5:12 PM, Arnd Bergmann wrote: > On Sunday 16 December 2012, Geert Uytterhoeven wrote: >> Since commit 0049fb2603b7afb1080776ee691dfa5a3d282357 ("OMAPFB: use >> dma_alloc_attrs to allocate memory") we have one non-arch user of >> dma_{alloc,free}_attrs(). >> >> Hence provide these functions, as wrappers around >> dma_{alloc,free}_coherent(). >> >> Note that most architectures do it the other way around. But as these are >> dummy functions, we don't care. >> >> Signed-off-by: Geert Uytterhoeven >> --- >> include/asm-generic/dma-mapping-broken.h | 16 ++++++++++++++++ >> 1 files changed, 16 insertions(+), 0 deletions(-) > > Acked-by: Arnd Bergmann Thanks! > Maybe you can put this one in your m68k tree along with your other > patch. Will do. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds