summaryrefslogtreecommitdiff
path: root/include/linux/bitops.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-12-02 16:54:21 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2008-12-02 16:54:21 +1100
commit1ffe645aa7ca6679e0d454af6001180f479a2797 (patch)
treeb30bec4a1a0e12d5011daa0ad8a410b74976707e /include/linux/bitops.h
parentd3e53e4d33fb9f81b39b7f79c211347270ee3385 (diff)
Revert "bitmap:find_last_bit"
This reverts commit 352102898a13616e6f9248c38ffe6dbf9ed4016b.
Diffstat (limited to 'include/linux/bitops.h')
-rw-r--r--include/linux/bitops.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/linux/bitops.h b/include/linux/bitops.h
index 61829139795a..024f2b027244 100644
--- a/include/linux/bitops.h
+++ b/include/linux/bitops.h
@@ -134,19 +134,8 @@ extern unsigned long find_first_bit(const unsigned long *addr,
*/
extern unsigned long find_first_zero_bit(const unsigned long *addr,
unsigned long size);
-#endif /* CONFIG_GENERIC_FIND_FIRST_BIT */
-#ifdef CONFIG_GENERIC_FIND_LAST_BIT
-/**
- * find_last_bit - find the last set bit in a memory region
- * @addr: The address to start the search at
- * @size: The maximum size to search
- *
- * Returns the bit number of the first set bit, or size.
- */
-extern unsigned long find_last_bit(const unsigned long *addr,
- unsigned long size);
-#endif /* CONFIG_GENERIC_FIND_LAST_BIT */
+#endif /* CONFIG_GENERIC_FIND_FIRST_BIT */
#ifdef CONFIG_GENERIC_FIND_NEXT_BIT