Revision 4932398f util/bitops.c

b/util/bitops.c
133 133
        tmp = addr[--words];
134 134
        if (tmp) {
135 135
        found:
136
            return words * BITS_PER_LONG + bitops_flsl(tmp);
136
            return words * BITS_PER_LONG + BITS_PER_LONG - 1 - clzl(tmp);
137 137
        }
138 138
    }
139 139

  

Also available in: Unified diff