Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96429
b: refs/heads/master
c: fcd84f2
h: refs/heads/master
i:
  96427: 6da04ec
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed May 12, 2008
1 parent f129b47 commit cb46b4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 7ff83f21d23d17b63bbb984fee5d12aa5a8066b3
refs/heads/master: fcd84f2fca49166dab2dba259eca6e633585763f
5 changes: 3 additions & 2 deletions trunk/include/asm-mips/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,8 @@ static inline void __clear_bit_unlock(unsigned long nr, volatile unsigned long *
__clear_bit(nr, addr);
}

#if defined(CONFIG_CPU_MIPS32) || defined(CONFIG_CPU_MIPS64)

/*
* Return the bit position (0..63) of the most significant 1 bit in a word
* Returns -1 if no 1 bit exists
Expand Down Expand Up @@ -596,8 +598,6 @@ static inline unsigned long __fls(unsigned long x)
return __ilog2(x);
}

#if defined(CONFIG_CPU_MIPS32) || defined(CONFIG_CPU_MIPS64)

/*
* __ffs - find first bit in word.
* @word: The word to search
Expand Down Expand Up @@ -654,6 +654,7 @@ static inline int ffs(int word)
#else

#include <asm-generic/bitops/__ffs.h>
#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/ffs.h>
#include <asm-generic/bitops/fls.h>
#include <asm-generic/bitops/fls64.h>
Expand Down

0 comments on commit cb46b4b

Please sign in to comment.