Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24162
b: refs/heads/master
c: 2dfc383
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Mar 26, 2006
1 parent a0ade70 commit 2654dbe
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: 136abb32d6b4acf196425fb3968ebb368d84280e
refs/heads/master: 2dfc383ad587bbead84739a9ff9273df3eda983d
12 changes: 12 additions & 0 deletions trunk/include/asm-generic/bitops/fls64.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef _ASM_GENERIC_BITOPS_FLS64_H_
#define _ASM_GENERIC_BITOPS_FLS64_H_

static inline int fls64(__u64 x)
{
__u32 h = x >> 32;
if (h)
return fls(h) + 32;
return fls(x);
}

#endif /* _ASM_GENERIC_BITOPS_FLS64_H_ */

0 comments on commit 2654dbe

Please sign in to comment.