Page MenuHomeFreeBSD

D54588.diff
No OneTemporary

D54588.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
@@ -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
Fri, Jan 16, 12:41 AM (16 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27563688
Default Alt Text
D54588.diff (494 B)

Event Timeline