Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111349586
D36016.id108813.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
408 B
Referenced Files
None
Subscribers
None
D36016.id108813.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/compat.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/compat.h
+++ sys/compat/linuxkpi/common/include/linux/compat.h
@@ -58,4 +58,7 @@
return (0);
}
+#define compat_ptr(x) ((void *)(unsigned long)x)
+#define ptr_to_compat(x) ((unsigned long)x)
+
#endif /* _LINUXKPI_LINUX_COMPAT_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 3, 5:06 PM (2 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16949200
Default Alt Text
D36016.id108813.diff (408 B)
Attached To
Mode
D36016: linuxkpi: Add compat_ptr and ptr_to_compat
Attached
Detach File
Event Timeline
Log In to Comment