From: Miles Bader <miles@gnu.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] v850: Define find_first_bit
Date: Tue, 13 Jul 2004 16:34:16 +0900 (JST) [thread overview]
Message-ID: <20040713073416.62F99444@mctpc71> (raw)
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)
next reply other threads:[~2004-07-13 7:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-13 7:34 Miles Bader [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-21 2:26 [PATCH] v850: Define find_first_bit Miles Bader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040713073416.62F99444@mctpc71 \
--to=miles@gnu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox