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

From: [email-masked] (Rob Herring)
Date: Wed, 21 Mar 2012 15:13:49 -0500

On 03/21/2012 03:15 AM, Haojian Zhuang wrote:
> On Wed, Mar 21, 2012 at 10:30 AM, Nicolas Pitre <[email-masked]> wrote:
>> On Tue, 20 Mar 2012, Rob Herring wrote:
>>
>>> From: Rob Herring <[email-masked]>
>>>
>>> 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 <[email-masked]>
>>> Signed-off-by: Rob Herring <[email-masked]>
>>> Cc: Russell King <[email-masked]>
>>> Cc: Imre Kaloz <[email-masked]>
>>> Cc: Krzysztof Halasa <[email-masked]>
>>> Cc: Eric Miao <[email-masked]>
>>> Cc: Haojian Zhuang <[email-masked]>
>>> Cc: Vinod Koul <[email-masked]>
>>> Cc: Dan Williams <[email-masked]>
>>
>> Acked-by: Nicolas Pitre <[email-masked]>
>>
> 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