[PATCH] PowerPC 4xx: Add dcri_clrset() for locked	read/modify/write functionality
    Josh Boyer 
    jwboyer at linux.vnet.ibm.com
       
    Thu Mar  6 12:12:16 EST 2008
    
    
  
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
    
    
More information about the Linuxppc-dev
mailing list