git: 62dc9911d97c - stable/13 - linuxkpi: Add llnode member in struct irq_work

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 27 Apr 2022 15:16:22 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=62dc9911d97cbf750bafbc2b6ed9d1f0a6ef9fd4

commit 62dc9911d97cbf750bafbc2b6ed9d1f0a6ef9fd4
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-03-28 12:48:28 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-04-27 16:38:05 +0000

    linuxkpi: Add llnode member in struct irq_work
    
    This was added in Linux v5.8 and started to be used in drm code in v5.9
    
    MFC after:      1 week
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    
    (cherry picked from commit 17ee6aca65c8dfb5f041b3229655ce12b0f37372)
---
 sys/compat/linuxkpi/common/include/linux/irq_work.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/irq_work.h b/sys/compat/linuxkpi/common/include/linux/irq_work.h
index 0c35747d596c..98f0b20d8405 100644
--- a/sys/compat/linuxkpi/common/include/linux/irq_work.h
+++ b/sys/compat/linuxkpi/common/include/linux/irq_work.h
@@ -35,11 +35,13 @@
 #include <sys/taskqueue.h>
 
 struct irq_work;
+struct llist_node;
 typedef void (*irq_work_func_t)(struct irq_work *);
 
 struct irq_work {
 	struct task irq_task;
 	irq_work_func_t func;
+	struct llist_node llnode;
 };
 
 extern struct taskqueue *linux_irq_work_tq;