]> err.no Git - linux-2.6/commit
[POWERPC] 4xx: Add dcri_clrset() for locked read/modify/write functionality
authorValentine Barshak <vbarshak@ru.mvista.com>
Wed, 5 Mar 2008 18:38:04 +0000 (05:38 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 26 Mar 2008 12:20:38 +0000 (07:20 -0500)
commit266d028acb615e1766c3fb9530c9e86de8476a33
tree5f8beaee529761b26ee858d91a8ee9262a80264d
parentd0a48c9f4c4582a966ce6426c1bf8ef1e37e63ee
[POWERPC] 4xx: Add dcri_clrset() for locked read/modify/write functionality

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@ru.mvista.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
include/asm-powerpc/dcr-native.h