git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
include
/
asm-frv
/
bitops.h
diff --git
a/include/asm-frv/bitops.h
b/include/asm-frv/bitops.h
index
b664bd5
..
f686b51
100644
(file)
--- a/
include/asm-frv/bitops.h
+++ b/
include/asm-frv/bitops.h
@@
-209,7
+209,7
@@
static inline int find_next_zero_bit(const void *addr, int size, int offset)
tmp = *p;
found_first:
- tmp |= ~0UL
>>
size;
+ tmp |= ~0UL
<<
size;
found_middle:
return result + ffz(tmp);
}
@@
-228,6
+228,7
@@
found_middle:
\
bit ? 33 - bit : bit; \
})
+#define fls64(x) generic_fls64(x)
/*
* Every architecture must define this function. It's the fastest