···6677/*88 * Every architecture must define this function. It's the fastest99- * way of searching a 140-bit bitmap where the first 100 bits are1010- * unlikely to be set. It's guaranteed that at least one of the 1401111- * bits is cleared.99+ * way of searching a 100-bit bitmap. It's guaranteed that at least1010+ * one of the 100 bits is cleared.1211 */1312static inline int sched_find_first_bit(const unsigned long *b)1413{1514#if BITS_PER_LONG == 641616- if (unlikely(b[0]))1515+ if (b[0])1716 return __ffs(b[0]);1818- if (likely(b[1]))1919- return __ffs(b[1]) + 64;2020- return __ffs(b[2]) + 128;1717+ return __ffs(b[1]) + 64;2118#elif BITS_PER_LONG == 322222- if (unlikely(b[0]))1919+ if (b[0])2320 return __ffs(b[0]);2424- if (unlikely(b[1]))2121+ if (b[1])2522 return __ffs(b[1]) + 32;2626- if (unlikely(b[2]))2323+ if (b[2])2724 return __ffs(b[2]) + 64;2828- if (b[3])2929- return __ffs(b[3]) + 96;3030- return __ffs(b[4]) + 128;2525+ return __ffs(b[3]) + 96;3126#else3227#error BITS_PER_LONG not defined3328#endif