git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] m68knommu: fix find_next_zero_bit in bitops.h
[pandora-kernel.git]
/
include
/
asm-m68knommu
/
bitops.h
diff --git
a/include/asm-m68knommu/bitops.h
b/include/asm-m68knommu/bitops.h
index
4058dd0
..
25d8a3c
100644
(file)
--- a/
include/asm-m68knommu/bitops.h
+++ b/
include/asm-m68knommu/bitops.h
@@
-290,7
+290,7
@@
static __inline__ int find_next_zero_bit (const void * addr, int size, int offse
tmp = *p;
found_first:
- tmp |= ~0UL
>>
size;
+ tmp |= ~0UL
<<
size;
found_middle:
return result + ffz(tmp);
}