commit | fcd84f2fca49166dab2dba259eca6e633585763f | [log] [tgz] |
---|---|---|
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | Sun May 04 00:25:02 2008 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon May 12 16:46:55 2008 +0100 |
tree | ce9eb07612fbde779ad80a21ed58b5b300e09f70 | |
parent | 7ff83f21d23d17b63bbb984fee5d12aa5a8066b3 [diff] |
[MIPS] Fix __fls for non-MIPS32/MIPS64 cpus Only MIPS32 and MIPS64 CPUs implement clz/dclz. Therefore don't export __ilog2() for non MIPS32/MIPS64 cpus and use generic __fls bitop code for these cpus. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>