Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142429255
D36016.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
395 B
Referenced Files
None
Subscribers
None
D36016.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/compat.h b/sys/compat/linuxkpi/common/include/linux/compat.h
--- a/sys/compat/linuxkpi/common/include/linux/compat.h
+++ b/sys/compat/linuxkpi/common/include/linux/compat.h
@@ -58,4 +58,7 @@
return (0);
}
+#define compat_ptr(x) ((void *)(uintptr_t)x)
+#define ptr_to_compat(x) ((uintptr_t)x)
+
#endif /* _LINUXKPI_LINUX_COMPAT_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 9:34 PM (7 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27777896
Default Alt Text
D36016.diff (395 B)
Attached To
Mode
D36016: linuxkpi: Add compat_ptr and ptr_to_compat
Attached
Detach File
Event Timeline
Log In to Comment