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

2008-03-06 Thread Benjamin Herrenschmidt
On Thu, 2008-03-06 at 14:31 +0300, Valentine Barshak wrote: > Josh Boyer wrote: > > On Thu, 06 Mar 2008 11:06:18 +1100 > > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > >> On Wed, 2008-03-05 at 21:38 +0300, Valentine Barshak wrote: > >>> This adds dcri_clrset() macro which does read/mod

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

2008-03-06 Thread Valentine Barshak
Josh Boyer wrote: > On Thu, 06 Mar 2008 11:06:18 +1100 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> 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.

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

2008-03-05 Thread Josh Boyer
On Thu, 06 Mar 2008 11:06:18 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> 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

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

2008-03-05 Thread Benjamin Herrenschmidt
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 <[EMAIL PROTECTED]> Acked-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> ---

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

2008-03-05 Thread Valentine Barshak
This adds dcri_clrset() macro which does read/modify/write on indirect dcr registers while holding indirect dcr lock. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- include/asm-powerpc/dcr-native.h | 17 + 1 files changed, 17 insertions(+) --- linux-2.6.orig/include/a