commit | cf134483b2cd657039b305777215c531a1009947 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Mon Sep 25 23:32:09 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Sep 26 08:48:54 2006 -0700 |
tree | 2dad894d6e916bcf785611ded852151bbea5063b | |
parent | a8ad27d03f17e6154c61e81d4a7028c56ca6390d [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>