commit | 2258cec798aa50d9a65dc4ffce3d21a300ffc829 | [log] [tgz] |
---|---|---|
author | Simon Kagstrom <simon.kagstrom@netinsight.net> | Mon Aug 24 09:10:12 2009 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Tue Sep 15 22:34:32 2009 +0200 |
tree | 0c5562920f48672d38baf05dd744118a4a8f2e69 | |
parent | 6fc582234b6a762c081dfa59b99f4348089c095b [diff] |
Define ffs/fls for all architectures UBIFS requires fls(), which is not defined for arm (and some other architectures) and this patch adds it. The implementation is taken from Linux and is generic. ffs() is also defined for those that miss it. Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>