Page MenuHomeFreeBSD

D54499.diff
No OneTemporary

D54499.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/bitops.h b/sys/compat/linuxkpi/common/include/linux/bitops.h
--- a/sys/compat/linuxkpi/common/include/linux/bitops.h
+++ b/sys/compat/linuxkpi/common/include/linux/bitops.h
@@ -437,4 +437,10 @@
return ((int32_t)(value << shift) >> shift);
}
+static inline uint64_t
+rol64(uint64_t word, unsigned int shift)
+{
+ return ((word << (shift & 63)) | (word >> ((-shift) & 63)));
+}
+
#endif /* _LINUXKPI_LINUX_BITOPS_H_ */

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 12, 10:24 PM (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35013801
Default Alt Text
D54499.diff (478 B)

Event Timeline