git: 42c04803d28e - stable/13 - LinuxKPI: Do not use forward declaration for struct llist_node
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jun 2022 21:51:54 UTC
The branch stable/13 has been updated by wulf:
URL: https://cgit.FreeBSD.org/src/commit/?id=42c04803d28ed83874410e9333dced28e3de5a5b
commit 42c04803d28ed83874410e9333dced28e3de5a5b
Author: Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2022-05-17 12:10:20 +0000
Commit: Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2022-06-01 21:50:14 +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
(cherry picked from commit bec4576e4c194a3b3bc8fb8cce613d7088dbfb2c)
---
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 93fc687292f1..d9cf36111854 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 {