Page MenuHomeFreeBSD

D59733.diff
No OneTemporary

D59733.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/compiler.h b/sys/compat/linuxkpi/common/include/linux/compiler.h
--- a/sys/compat/linuxkpi/common/include/linux/compiler.h
+++ b/sys/compat/linuxkpi/common/include/linux/compiler.h
@@ -97,4 +97,8 @@
#define __struct_size(_s) __builtin_object_size(_s, 0)
#endif
+#define ____UNIQUE_ID(name, num) __UNIQUE_ID_##name##_##num
+#define ___UNIQUE_ID(name, num) ____UNIQUE_ID(name, num)
+#define __UNIQUE_ID(name) ___UNIQUE_ID(name, __COUNTER__)
+
#endif /* _LINUXKPI_LINUX_COMPILER_H_ */

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 17, 11:11 PM (9 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39104481
Default Alt Text
D59733.diff (544 B)

Event Timeline