Page MenuHomeFreeBSD

D38537.diff
No OneTemporary

D38537.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/list.h b/sys/compat/linuxkpi/common/include/linux/list.h
--- a/sys/compat/linuxkpi/common/include/linux/list.h
+++ b/sys/compat/linuxkpi/common/include/linux/list.h
@@ -86,14 +86,6 @@
#define LINUX_LIST_HEAD(name) \
struct list_head name = LINUX_LIST_HEAD_INIT(name)
-#ifndef LIST_HEAD_DEF
-#define LIST_HEAD_DEF
-struct list_head {
- struct list_head *next;
- struct list_head *prev;
-};
-#endif
-
static inline void
INIT_LIST_HEAD(struct list_head *list)
{
diff --git a/sys/compat/linuxkpi/common/include/linux/types.h b/sys/compat/linuxkpi/common/include/linux/types.h
--- a/sys/compat/linuxkpi/common/include/linux/types.h
+++ b/sys/compat/linuxkpi/common/include/linux/types.h
@@ -79,6 +79,14 @@
typedef unsigned long irq_hw_number_t;
+#ifndef LIST_HEAD_DEF
+#define LIST_HEAD_DEF
+struct list_head {
+ struct list_head *next;
+ struct list_head *prev;
+};
+#endif
+
struct rcu_head {
void *raw[2];
} __aligned(sizeof(void *));

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 8, 11:24 AM (21 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16525945
Default Alt Text
D38537.diff (1005 B)

Event Timeline