[PATCH] PowerPC 4xx: Add dcri_clrset() for locked read/modify/write functionality

Valentine Barshak vbarshak at ru.mvista.com
Thu Mar 6 22:31:19 EST 2008


Josh Boyer wrote:
> On Thu, 06 Mar 2008 11:06:18 +1100
> Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> 
>> On Wed, 2008-03-05 at 21:38 +0300, Valentine Barshak wrote:
>>> This adds dcri_clrset() macro which does read/modify/write
>>> on indirect dcr registers while holding indirect dcr lock.
>>>
>>> Signed-off-by: Valentine Barshak <vbarshak at ru.mvista.com>
>> Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> 
> Indeed, looks good.  Valentine, are you going to rework your EMAC patch
> to use this?
> 
> josh

Yes, I was going to update the pcie stuff and rework the emac patches.

Thanks,
Valentine.



More information about the Linuxppc-dev mailing list