Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115675686
D50004.id154222.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
478 B
Referenced Files
None
Subscribers
None
D50004.id154222.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/time.h b/sys/compat/linuxkpi/common/include/linux/time.h
--- a/sys/compat/linuxkpi/common/include/linux/time.h
+++ b/sys/compat/linuxkpi/common/include/linux/time.h
@@ -42,6 +42,12 @@
#include <linux/math64.h>
+#if defined(__i386__)
+typedef int64_t time64_t; /* FreeBSD time_t on i386 is still int32_t. */
+#else
+typedef time_t time64_t;
+#endif
+
static inline struct timeval
ns_to_timeval(const int64_t nsec)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 11:28 PM (1 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17786585
Default Alt Text
D50004.id154222.diff (478 B)
Attached To
Mode
D50004: LinuxKPI: define time64_t
Attached
Detach File
Event Timeline
Log In to Comment