| commit | bc818247203a7bfc40296a3f5b760de84fb8e0d1 | [log] [tgz] |
|---|---|---|
| author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Mon Apr 17 21:19:12 2006 +0900 |
| committer | Ralf Baechle <ralf@linux-mips.org> | Thu Apr 27 15:13:49 2006 +0100 |
| tree | e0e6248b181f0e5e89349a083e60fc3812b1bf94 | |
| parent | c0858d82faf96ffc32b96e23927d10844d38e564 [diff] |
[MIPS] Fix bitops for MIPS32/MIPS64 CPUs.
With recent rewrite for generic bitops, fls() for 32bit kernel with
MIPS64_CPU is broken. Also, ffs(), fls() should be defined the same
way as the libc and compiler built-in routines (returns int instead of
unsigned long).
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>