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
staging: slicoss: fix eeprom checksum code
[pandora-kernel.git]
/
include
/
asm-generic
/
word-at-a-time.h
diff --git
a/include/asm-generic/word-at-a-time.h
b/include/asm-generic/word-at-a-time.h
index
d96deb4
..
94f9ea8
100644
(file)
--- a/
include/asm-generic/word-at-a-time.h
+++ b/
include/asm-generic/word-at-a-time.h
@@
-50,7
+50,7
@@
static inline bool has_zero(unsigned long val, unsigned long *data, const struct
}
#ifndef zero_bytemask
-#define zero_bytemask(mask) (~
0ul << __fls(mask) << 1
)
+#define zero_bytemask(mask) (~
1ul << __fls(mask)
)
#endif
#endif /* _ASM_WORD_AT_A_TIME_H */