aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-frv/futex.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-09-26 02:32:09 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 11:48:54 -0400
commitcf134483b2cd657039b305777215c531a1009947 (patch)
tree2dad894d6e916bcf785611ded852151bbea5063b /include/asm-frv/futex.h
parenta8ad27d03f17e6154c61e81d4a7028c56ca6390d (diff)
[PATCH] FRV: Optimise ffs()
Optimise ffs(x) by using fls(x & x - 1) which we optimise to use the SCAN instruction. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-frv/futex.h')
0 files changed, 0 insertions, 0 deletions