2.6.27-rc3-git4: Multiple implicit declarations in log2.h

From: Rafael J. Wysocki
Date: Sun Aug 17 2008 - 13:29:10 EST


Hi,

I see this compiling the current mainline on x86-64:

AS arch/x86/boot/compressed/head_64.o
In file included from /home/rafael/src/linux-2.6/include/linux/kernel.h:16,
from /home/rafael/src/linux-2.6/arch/x86/boot/memory.c:16:
/home/rafael/src/linux-2.6/include/linux/log2.h: In function â__ilog2_u32â:
/home/rafael/src/linux-2.6/include/linux/log2.h:34: warning: implicit declaration of function âflsâ
/home/rafael/src/linux-2.6/include/linux/log2.h: In function â__ilog2_u64â:
/home/rafael/src/linux-2.6/include/linux/log2.h:42: warning: implicit declaration of function âfls64â
/home/rafael/src/linux-2.6/include/linux/log2.h: In function â__roundup_pow_of_twoâ:
/home/rafael/src/linux-2.6/include/linux/log2.h:63: warning: implicit declaration of function âfls_longâ
CC arch/x86/boot/compressed/misc.o

I guess there's a missing #include or something?

Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/