From: Timur Tabi Date: Thu, 23 Aug 2007 01:07:28 +0000 (-0500) Subject: [POWERPC] add clrsetbits macros X-Git-Tag: v2.6.24-rc1~1450^2~240 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc967d7f5e5d2c9d01c8ea172a1e231908dba9de;p=pandora-kernel.git [POWERPC] add clrsetbits macros This patch adds the clrsetbits_xxx() macros, which are used to set and clear multiple bits in a single read-modify-write operation. Specify the bits to clear in the 'clear' parameter and the bits to set in the 'set' parameter. These macros can also be used to set a multiple-bit bit pattern using a mask, by specifying the mask in the 'clear' parameter and the new bit pattern in the 'set' parameter. There are big-endian and little-endian versions for 8, 16, 32, and 64 bits. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala --- Reading git-diff-tree failed