Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132512887
D24953.id72229.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
470 B
Referenced Files
None
Subscribers
None
D24953.id72229.diff
View Options
Index: head/sys/compat/linuxkpi/common/include/linux/compiler.h
===================================================================
--- head/sys/compat/linuxkpi/common/include/linux/compiler.h
+++ head/sys/compat/linuxkpi/common/include/linux/compiler.h
@@ -111,4 +111,7 @@
#define _AT(T,X) ((T)(X))
+#define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
+#define __must_be_array(a) __same_type(a, &(a)[0])
+
#endif /* _LINUX_COMPILER_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 18, 1:30 PM (17 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23879113
Default Alt Text
D24953.id72229.diff (470 B)
Attached To
Mode
D24953: linuxkpi: Add __same_type and __must_be_array macros
Attached
Detach File
Event Timeline
Log In to Comment