* [PATCH] v850: Define find_first_bit
@ 2004-07-13 7:34 Miles Bader
0 siblings, 0 replies; 2+ messages in thread
From: Miles Bader @ 2004-07-13 7:34 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
Signed-off-by: Miles Bader <miles@gnu.org>
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] v850: Define find_first_bit
@ 2004-07-21 2:26 Miles Bader
0 siblings, 0 replies; 2+ messages in thread
From: Miles Bader @ 2004-07-21 2:26 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
Signed-off-by: Miles Bader <miles@gnu.org>
include/asm-v850/bitops.h | 6 ++++++
1 files changed, 6 insertions(+)
diff -ruN -X../cludes linux-2.6.8-rc2-moo/include/asm-v850/bitops.h linux-2.6.8-rc2-moo-v850-20040721/include/asm-v850/bitops.h
--- linux-2.6.8-rc2-moo/include/asm-v850/bitops.h 2004-07-20 17:12:46 +0900
+++ linux-2.6.8-rc2-moo-v850-20040721/include/asm-v850/bitops.h 2004-07-21 11:05:45 +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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-21 2:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 7:34 [PATCH] v850: Define find_first_bit Miles Bader
-- strict thread matches above, loose matches on Subject: below --
2004-07-21 2:26 Miles Bader
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.