···114114 * @result: [1-32]115115 * fls(1) = 1, fls(0x80000000) = 32, fls(0) = 0116116 */117117-static inline __attribute__ ((const)) int fls(unsigned long x)117117+static inline __attribute__ ((const)) int fls(unsigned int x)118118{119119 int n;120120···141141 * ffs = Find First Set in word (LSB to MSB)142142 * @result: [1-32], 0 if all 0's143143 */144144-static inline __attribute__ ((const)) int ffs(unsigned long x)144144+static inline __attribute__ ((const)) int ffs(unsigned int x)145145{146146 int n;147147