ChangeSet 1.2231.1.84, 2005/03/28 19:39:53-08:00, [EMAIL PROTECTED]
[PATCH] x86_64: Fix gcc 3.4 warning in bitops.c
Move include down to avoid:
arch/x86_64/lib/bitops.c:18: warning: `find_first_zero_bit' declared
inline after being called
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
bitops.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Nru a/arch/x86_64/lib/bitops.c b/arch/x86_64/lib/bitops.c
--- a/arch/x86_64/lib/bitops.c 2005-03-28 21:24:54 -08:00
+++ b/arch/x86_64/lib/bitops.c 2005-03-28 21:24:54 -08:00
@@ -1,4 +1,3 @@
-#include <linux/module.h>
#include <linux/bitops.h>
#undef find_first_zero_bit
@@ -133,6 +132,8 @@
res = __find_first_bit (p, size - 64 * (p - addr));
return (offset + set + res);
}
+
+#include <linux/module.h>
EXPORT_SYMBOL(find_next_bit);
EXPORT_SYMBOL(find_first_bit);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html