[PATCH] v850: Define find_first_bit
From: Miles Bader
Date: Tue Jul 13 2004 - 02:35:40 EST
Signed-off-by: Miles Bader <miles@xxxxxxx>
include/asm-v850/bitops.h | 6 ++++++
1 files changed, 6 insertions(+)
diff -ruN -X../cludes linux-2.6.8-rc1-moo/include/asm-v850/bitops.h linux-2.6.8-rc1-moo-v850-20040713/include/asm-v850/bitops.h
--- linux-2.6.8-rc1-moo/include/asm-v850/bitops.h 2004-07-13 10:39:36 +0900
+++ linux-2.6.8-rc1-moo-v850-20040713/include/asm-v850/bitops.h 2004-07-13 16:20:12 +0900
@@ -267,6 +267,12 @@
return result + generic_ffs_for_find_next_bit(tmp);
}
+/*
+ * find_first_bit - find the first set bit in a memory region
+ */
+#define find_first_bit(addr, size) \
+ find_next_bit((addr), (size), 0)
+
#define ffs(x) generic_ffs (x)
#define fls(x) generic_fls (x)
-
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/