Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212991
b: refs/heads/master
c: d852a6a
h: refs/heads/master
i:
  212989: 9ca6980
  212987: 6cf3126
  212983: 8d2beff
  212975: 7652ec5
  212959: 2bc7eb9
  212927: fc2bcae
  212863: b277bf5
  212735: 2a49a03
  212479: 493f017
  211967: 16b8970
  210943: a9c5b84
  208895: b84e94a
  204799: 77a3bfc
  196607: 01bac5e
v: v3
  • Loading branch information
Akinobu Mita authored and Arnd Bergmann committed Oct 9, 2010
1 parent 49a802c commit 0c478d4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 26 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 708ff2a0097b02d32d375b66996661f36cd4d6d1
refs/heads/master: d852a6afd91fc928128f59ebff381838c365e358
14 changes: 12 additions & 2 deletions trunk/include/asm-generic/bitops/find.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
#ifndef _ASM_GENERIC_BITOPS_FIND_H_
#define _ASM_GENERIC_BITOPS_FIND_H_

#ifndef CONFIG_GENERIC_FIND_NEXT_BIT
/**
* find_next_bit - find the next set bit in a memory region
* @addr: The address to base the search on
* @offset: The bitnumber to start searching at
* @size: The bitmap size in bits
*/
extern unsigned long find_next_bit(const unsigned long *addr, unsigned long
size, unsigned long offset);

/**
* find_next_zero_bit - find the next cleared bit in a memory region
* @addr: The address to base the search on
* @offset: The bitnumber to start searching at
* @size: The bitmap size in bits
*/
extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned
long size, unsigned long offset);
#endif

#ifdef CONFIG_GENERIC_FIND_FIRST_BIT

Expand Down
23 changes: 0 additions & 23 deletions trunk/include/linux/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,28 +149,5 @@ extern unsigned long find_last_bit(const unsigned long *addr,
unsigned long size);
#endif /* CONFIG_GENERIC_FIND_LAST_BIT */

#ifdef CONFIG_GENERIC_FIND_NEXT_BIT

/**
* find_next_bit - find the next set bit in a memory region
* @addr: The address to base the search on
* @offset: The bitnumber to start searching at
* @size: The bitmap size in bits
*/
extern unsigned long find_next_bit(const unsigned long *addr,
unsigned long size, unsigned long offset);

/**
* find_next_zero_bit - find the next cleared bit in a memory region
* @addr: The address to base the search on
* @offset: The bitnumber to start searching at
* @size: The bitmap size in bits
*/

extern unsigned long find_next_zero_bit(const unsigned long *addr,
unsigned long size,
unsigned long offset);

#endif /* CONFIG_GENERIC_FIND_NEXT_BIT */
#endif /* __KERNEL__ */
#endif

0 comments on commit 0c478d4

Please sign in to comment.