Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277462
b: refs/heads/master
c: 83d99df
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed Dec 15, 2011
1 parent ce86580 commit 822b76f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 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: cebef5beed3de3037de85a521495897256b2c5da
refs/heads/master: 83d99df7c4bf37176d8c7b199e3b129a51fa04c8
11 changes: 2 additions & 9 deletions trunk/arch/x86/include/asm/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ static inline unsigned long __fls(unsigned long word)
return word;
}

#undef ADDR

#ifdef __KERNEL__
/**
* ffs - find first set bit in word
Expand Down Expand Up @@ -434,11 +436,6 @@ static inline int fls(int x)
#endif
return r + 1;
}
#endif /* __KERNEL__ */

#undef ADDR

#ifdef __KERNEL__

#include <asm-generic/bitops/find.h>

Expand All @@ -450,12 +447,8 @@ static inline int fls(int x)

#include <asm-generic/bitops/const_hweight.h>

#endif /* __KERNEL__ */

#include <asm-generic/bitops/fls64.h>

#ifdef __KERNEL__

#include <asm-generic/bitops/le.h>

#include <asm-generic/bitops/ext2-atomic-setbit.h>
Expand Down

0 comments on commit 822b76f

Please sign in to comment.