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: NSimon Kagstrom <simon.kagstrom@netinsight.net>
Showing
想要评论请 注册 或 登录