aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/dma-mapping.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-04-18 00:26:08 -0400
committerPaul Mackerras <paulus@samba.org>2008-04-18 02:25:15 -0400
commit9f264be6101c42cb9e471c58322fb83a5cde1461 (patch)
tree5d96ec582d5483c67e5511f0aa0c61d869a48640 /include/asm-powerpc/dma-mapping.h
parent945feb174b14e7098cc7ecf0cf4768d35bc52f9c (diff)
[POWERPC] Optimize fls64() on 64-bit processors
64-bit powerpc processors can find the leftmost 1 bit in a 64-bit doubleword in one instruction, so use that rather than using the generic fls64(), which does two 32-bit fls() calls. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/dma-mapping.h')
0 files changed, 0 insertions, 0 deletions