Skip to contentSkip to conversation

x86_64/lib: find_first_zero_bit not extern

PATCH In review Randy.Dunlap 2 participants 2 messages Mar 28, 2005 Bitops API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_64/lib: find_first_zero_bit not extern

Exported function was marked inline:
arch/x86_64/lib/bitops.c:18: warning: `find_first_zero_bit' declared inline afte r being called

diffstat:=

 arch/x86_64/lib/bitops.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/x86_64/lib/bitops.c renamed from arch/x86_64/lib/bitops.c~x8664_lib_bitops +1 -1
diff -Naurp ./arch/x86_64/lib/bitops.c~x8664_lib_bitops ./arch/x86_64/lib/bitops.c
@@ -14,7 +14,7 @@
  * Returns the bit-number of the first zero bit, not the number of the byte
  * containing a bit.
  */
-inline long find_first_zero_bit(const unsigned long * addr, unsigned long size)
+long find_first_zero_bit(const unsigned long * addr, unsigned long size)
 {
 	long d0, d1, d2;
 	long res;

---

#1 lore raw
Quoted 6 lines · Randy.Dunlap

Exported function was marked inline:
arch/x86_64/lib/bitops.c:18: warning: `find_first_zero_bit' declared inline afte r being called

That is already fixed in the patchkit in -mm*

-Andi