diff options
Diffstat (limited to 'include/asm-v850')
-rw-r--r-- | include/asm-v850/bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-v850/bitops.h b/include/asm-v850/bitops.h index 8955d2376ac..609b9e87222 100644 --- a/include/asm-v850/bitops.h +++ b/include/asm-v850/bitops.h @@ -188,7 +188,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); } |