[PATCH] x86_64/lib: find_first_zero_bit not extern

From: Randy.Dunlap
Date: Mon Mar 28 2005 - 00:49:23 EST



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

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

diffstat:=
arch/x86_64/lib/bitops.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./arch/x86_64/lib/bitops.c~x8664_lib_bitops ./arch/x86_64/lib/bitops.c
--- ./arch/x86_64/lib/bitops.c~x8664_lib_bitops 2005-03-01 23:37:49.000000000 -0800
+++ ./arch/x86_64/lib/bitops.c 2005-03-27 20:42:59.000000000 -0800
@@ -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;


---
-
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/