Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109613582
D38537.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1005 B
Referenced Files
None
Subscribers
None
D38537.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D38537: linuxkpi: Move definition of `struct list_head` to <linux/types.h>
Attached
Detach File
Event Timeline
Log In to Comment