Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156453714
D34225.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
409 B
Referenced Files
None
Subscribers
None
D34225.diff
View Options
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
@@ -86,6 +86,12 @@
return (ffsl(mask) - 1);
}
+static inline unsigned long
+__ffs64(uint64_t mask)
+{
+ return (ffsll(mask) - 1);
+}
+
static inline int
__flsl(long mask)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 14, 7:18 PM (16 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33055723
Default Alt Text
D34225.diff (409 B)
Attached To
Mode
D34225: LinuxKPI: add __ffs64()
Attached
Detach File
Event Timeline
Log In to Comment