Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103532662
D25700.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
668 B
Referenced Files
None
Subscribers
None
D25700.diff
View Options
Index: head/sys/compat/linuxkpi/common/include/linux/jiffies.h
===================================================================
--- head/sys/compat/linuxkpi/common/include/linux/jiffies.h
+++ head/sys/compat/linuxkpi/common/include/linux/jiffies.h
@@ -45,7 +45,9 @@
#define MAX_JIFFY_OFFSET ((INT_MAX >> 1) - 1)
#define time_after(a, b) ((int)((b) - (a)) < 0)
+#define time_after32(a, b) ((int32_t)((uint32_t)(b) - (uint32_t)(a)) < 0)
#define time_before(a, b) time_after(b,a)
+#define time_before32(a, b) time_after32(b, a)
#define time_after_eq(a, b) ((int)((a) - (b)) >= 0)
#define time_before_eq(a, b) time_after_eq(b, a)
#define time_in_range(a,b,c) \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 4:41 AM (21 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14878240
Default Alt Text
D25700.diff (668 B)
Attached To
Mode
D25700: linuxkpi: Add time_after32
Attached
Detach File
Event Timeline
Log In to Comment