lkml.org 
[lkml]   [2004]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] v850: Define find_first_bit
From
Date
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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.027 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site