Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177947403
D58075.1795622887.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
584 B
Referenced Files
None
Subscribers
None
D58075.1795622887.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/jiffies.h b/sys/compat/linuxkpi/common/include/linux/jiffies.h
--- a/sys/compat/linuxkpi/common/include/linux/jiffies.h
+++ b/sys/compat/linuxkpi/common/include/linux/jiffies.h
@@ -39,6 +39,7 @@
extern unsigned long jiffies; /* defined in sys/kern/subr_ticks.S */
#define jiffies_64 jiffies /* XXX-MJ wrong on 32-bit platforms */
#define jiffies_to_msecs(x) ((unsigned int)(((int64_t)(int)(x)) * 1000 / hz))
+#define jiffies64_to_msecs(x) (((uint64_t)(x)) * 1000 / hz)
#define MAX_JIFFY_OFFSET ((LONG_MAX >> 1) - 1)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 25, 4:08 PM (16 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37350657
Default Alt Text
D58075.1795622887.diff (584 B)
Attached To
Mode
D58075: LinuxKPI: Added jiffies64_to_msecs for amdkfd compatibility.
Attached
Detach File
Event Timeline