Re: [PATCH] of/address: Add of_iomap_nocache
From: David Miller
Date: Thu Aug 04 2011 - 19:10:18 EST
From: Rob Herring <robherring2@xxxxxxxxx>
Date: Thu, 04 Aug 2011 10:52:58 -0500
> On 08/04/2011 05:12 AM, David Miller wrote:
>> From: David Brown <davidb@xxxxxxxxxxxxxx>
>> Date: Thu, 4 Aug 2011 02:53:49 -0700
>>
>>> Add uncached mappings from devicetree nodes similar to regular io
>>> mappings.
>>>
>>> Signed-off-by: David Brown <davidb@xxxxxxxxxxxxxx>
>>
>> You'll need to add a sparc implementation.
>
> Sparc just defines ioremap_nocache to ioremap, so is that really needed?
Yes because if someone uses this of_iomap_nocache() in a driver the
sparc build is going to fail, we need as least the define to make
it equal to of_iomap() as David did in his follow-on patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/