diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-02-03 12:03:54 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-03 17:32:02 +0100 |
commit | bcc68b8616bcac47dbfc414398e382b3b10faf4c (patch) | |
tree | b636e8378c1823d75f2f6512cb2eb6c4f52d2dd9 /include/asm-v850/bitops.h | |
parent | [PATCH] Tell kallsyms_lookup_name() to ignore type U entries (diff) | |
download | linux-bcc68b8616bcac47dbfc414398e382b3b10faf4c.tar.xz linux-bcc68b8616bcac47dbfc414398e382b3b10faf4c.zip |
[PATCH] include/asm-*/bitops.h: fix more "~0UL >> size" typos
"[PATCH] m68knommu: fix find_next_zero_bit in bitops.h" fixed a typo in
m68knommu implementation of find_next_zero_bit().
grep(1) shows that cris, frv, h8300, v850 are also affected.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-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 8955d2376ac8..609b9e87222a 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); } |