Page MenuHomeFreeBSD

D54588.1795396163.diff
No OneTemporary

Authored By
Unknown
Size
499 B
Referenced Files
None
Subscribers
None

D54588.1795396163.diff

Index: sys/compat/linuxkpi/common/include/linux/bitops.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/bitops.h
+++ sys/compat/linuxkpi/common/include/linux/bitops.h
@@ -443,4 +443,10 @@
return ((word << (shift & 63)) | (word >> ((-shift) & 63)));
}
+static inline uint32_t
+rol32(uint32_t word, unsigned int shift)
+{
+ return ((word << (shift & 31)) | (word >> ((-shift) & 31)));
+}
+
#endif /* _LINUXKPI_LINUX_BITOPS_H_ */

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 23, 1:09 AM (7 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41919608
Default Alt Text
D54588.1795396163.diff (499 B)

Event Timeline