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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Andrew Morton <akpm@...>, LKML <linux-kernel@...>
Date: Sunday, August 17, 2008 - 1:32 pm

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.27-rc3-git4: Multiple implicit declarations in log2.h, Rafael J. Wysocki, (Sun Aug 17, 1:32 pm)