git: bec4576e4c19 - main - LinuxKPI: Do not use forward declaration for struct llist_node
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 May 2022 12:11:40 UTC
The branch main has been updated by wulf:
URL: https://cgit.FreeBSD.org/src/commit/?id=bec4576e4c194a3b3bc8fb8cce613d7088dbfb2c
commit bec4576e4c194a3b3bc8fb8cce613d7088dbfb2c
Author: Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2022-05-17 12:10:20 +0000
Commit: Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2022-05-17 12:10:20 +0000
LinuxKPI: Do not use forward declaration for struct llist_node
in linux/irq_work.h as irq_work structure contains full version of
llist_node rather than reference to it.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D35052
---
sys/compat/linuxkpi/common/include/linux/irq_work.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/compat/linuxkpi/common/include/linux/irq_work.h b/sys/compat/linuxkpi/common/include/linux/irq_work.h
index 8a0475c8999e..c2cdc6011c98 100644
--- a/sys/compat/linuxkpi/common/include/linux/irq_work.h
+++ b/sys/compat/linuxkpi/common/include/linux/irq_work.h
@@ -34,8 +34,9 @@
#include <sys/param.h>
#include <sys/taskqueue.h>
+#include <linux/llist.h>
+
struct irq_work;
-struct llist_node;
typedef void (*irq_work_func_t)(struct irq_work *);
struct irq_work {