Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24160
b: refs/heads/master
c: 176d8b0
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Mar 26, 2006
1 parent 218491b commit b22cc71
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1226a005ec400e966f4993dfcc0e99fd7baa6a1
refs/heads/master: 176d8b0c2709e764d491e63a0c1b3a3e1459fcf8
12 changes: 12 additions & 0 deletions trunk/include/asm-generic/bitops/ffz.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef _ASM_GENERIC_BITOPS_FFZ_H_
#define _ASM_GENERIC_BITOPS_FFZ_H_

/*
* ffz - find first zero in word.
* @word: The word to search
*
* Undefined if no zero exists, so code should check against ~0UL first.
*/
#define ffz(x) __ffs(~(x))

#endif /* _ASM_GENERIC_BITOPS_FFZ_H_ */

0 comments on commit b22cc71

Please sign in to comment.