]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/time/timer.c
Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / kernel / time / timer.c
index d3f5e92f722a005c258b93906e8239384165190f..74591ba9474f4dff4e0c3d7b7acedbe14b5d57a8 100644 (file)
@@ -874,7 +874,7 @@ unsigned long apply_slack(struct timer_list *timer, unsigned long expires)
        if (mask == 0)
                return expires;
 
-       bit = find_last_bit(&mask, BITS_PER_LONG);
+       bit = __fls(mask);
 
        mask = (1UL << bit) - 1;