The patch titled kernel/kfifo.c: replace conditional test with is_power_of_2() has been removed from the -mm tree. Its filename was kernel-kfifoc-replace-conditional-test-with-is_power_of_2.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: kernel/kfifo.c: replace conditional test with is_power_of_2() From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kfifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/kfifo.c~kernel-kfifoc-replace-conditional-test-with-is_power_of_2 kernel/kfifo.c --- a/kernel/kfifo.c~kernel-kfifoc-replace-conditional-test-with-is_power_of_2 +++ a/kernel/kfifo.c @@ -74,7 +74,7 @@ struct kfifo *kfifo_alloc(unsigned int s * round up to the next power of 2, since our 'let the indices * wrap' tachnique works only in this case. */ - if (size & (size - 1)) { + if (!is_power_of_2(size)) { BUG_ON(size > 0x80000000); size = roundup_pow_of_two(size); } _ Patches currently in -mm which might be from rpjday@xxxxxxxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html