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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
bitops.h
diff --git
a/include/linux/bitops.h
b/include/linux/bitops.h
index
5d1eabc
..
638165f
100644
(file)
--- a/
include/linux/bitops.h
+++ b/
include/linux/bitops.h
@@
-31,9
+31,8
@@
static inline unsigned long hweight_long(unsigned long w)
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
}
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
}
-/*
+/*
*
* rol32 - rotate a 32-bit value left
* rol32 - rotate a 32-bit value left
- *
* @word: value to rotate
* @shift: bits to roll
*/
* @word: value to rotate
* @shift: bits to roll
*/
@@
-42,9
+41,8
@@
static inline __u32 rol32(__u32 word, unsigned int shift)
return (word << shift) | (word >> (32 - shift));
}
return (word << shift) | (word >> (32 - shift));
}
-/*
+/*
*
* ror32 - rotate a 32-bit value right
* ror32 - rotate a 32-bit value right
- *
* @word: value to rotate
* @shift: bits to roll
*/
* @word: value to rotate
* @shift: bits to roll
*/