The Linux Kernel Mailing List
 help / color / mirror / Atom feed
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: Wed, 21 Jul 2004 11:26:51 +0900 (JST)	[thread overview]
Message-ID: <20040721022651.9EF85493@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-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)

             reply	other threads:[~2004-07-21  2:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-21  2:26 Miles Bader [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-13  7:34 [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=20040721022651.9EF85493@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