[PATCH 1/2] ARM: dma-mapping: convert ARCH_HAS_DMA_SET_COHERENT_MASK to kconfig symbol

Haojian Zhuang haojian.zhuang at gmail.com
Wed Mar 21 18:17:57 EDT 2012


On Thu, Mar 22, 2012 at 4:13 AM, Rob Herring <robherring2 at gmail.com> wrote:
> On 03/21/2012 03:15 AM, Haojian Zhuang wrote:
>> On Wed, Mar 21, 2012 at 10:30 AM, Nicolas Pitre <nico at fluxnic.net> wrote:
>>> On Tue, 20 Mar 2012, Rob Herring wrote:
>>>
>>>> From: Rob Herring <rob.herring at calxeda.com>
>>>>
>>>> The only users of ARCH_HAS_DMA_SET_COHERENT_MASK are 2 ARM platforms:
>>>> ixp4xx and pxa cm_x2xx. We've been getting lucky that the define is
>>>> implicitly included before dma-mapping.h, but the removal of io.h broke
>>>> things (c334bc1 ARM: make mach/io.h include optional). Since memory.h
>>>> is the correct place, but no longer exists, convert the define to a
>>>> kconfig entry.
>>>>
>>>> Reported-by: Paul Gortmaker <paul.gortmaker at windriver.com>
>>>> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
>>>> Cc: Russell King <linux at arm.linux.org.uk>
>>>> Cc: Imre Kaloz <kaloz at openwrt.org>
>>>> Cc: Krzysztof Halasa <khc at pm.waw.pl>
>>>> Cc: Eric Miao <eric.y.miao at gmail.com>
>>>> Cc: Haojian Zhuang <haojian.zhuang at marvell.com>
>>>> Cc: Vinod Koul <vinod.koul at intel.com>
>>>> Cc: Dan Williams <dan.j.williams at intel.com>
>>>
>>> Acked-by: Nicolas Pitre <nico at linaro.org>
>>>
>> Acked.
>>
>> Imre & Krzysztof,
>>
>> Do you mind that I merge these patches into arch-pxa git tree? Since a
>> lot of files in arch-pxa are changed.
>>
>
> I plan to send these 2 along with another fix to arm-soc if that's okay.
>
> Rob

No problem



More information about the linux-arm-kernel mailing list