Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70995
b: refs/heads/master
c: d2ccc3f
h: refs/heads/master
i:
  70993: 901c7e6
  70991: 29d6e8e
v: v3
  • Loading branch information
Chuck Lever authored and Thomas Gleixner committed Oct 17, 2007
1 parent ca046d8 commit 8a66c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 92b2dc79c3bb3f08afae6c0feaeea593b9c83a76
refs/heads/master: d2ccc3fdde1a860b970109ad78865b7e44d3fc0c
2 changes: 1 addition & 1 deletion trunk/include/asm-x86/bitops_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ extern long find_first_bit(const unsigned long * addr, unsigned long size);
extern long find_next_bit(const unsigned long * addr, long size, long offset);

/* return index of first bet set in val or max when no bit is set */
static inline unsigned long __scanbit(unsigned long val, unsigned long max)
static inline long __scanbit(unsigned long val, unsigned long max)
{
asm("bsfq %1,%0 ; cmovz %2,%0" : "=&r" (val) : "r" (val), "r" (max));
return val;
Expand Down

0 comments on commit 8a66c19

Please sign in to comment.