summaryrefslogtreecommitdiff
path: root/patches/genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch')
-rw-r--r--patches/genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch14
1 files changed, 11 insertions, 3 deletions
diff --git a/patches/genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch b/patches/genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
index 6617a5fcfc12..ad6cdadcf876 100644
--- a/patches/genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
+++ b/patches/genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
@@ -10,13 +10,21 @@ wakeup() a process while holding the lock.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
- include/linux/interrupt.h | 1
+ include/linux/interrupt.h | 2 +
kernel/irq/manage.c | 79 ++++++++++++++++++++++++++++++++++++++++++++--
- 2 files changed, 77 insertions(+), 3 deletions(-)
+ 2 files changed, 78 insertions(+), 3 deletions(-)
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
-@@ -217,6 +217,7 @@ struct irq_affinity_notify {
+@@ -206,6 +206,7 @@ extern void resume_device_irqs(void);
+ * @irq: Interrupt to which notification applies
+ * @kref: Reference count, for internal use
+ * @work: Work item, for internal use
++ * @list: List item for deferred callbacks
+ * @notify: Function to be called on change. This will be
+ * called in process context.
+ * @release: Function to be called on release. This will be
+@@ -217,6 +218,7 @@ struct irq_affinity_notify {
unsigned int irq;
struct kref kref;
struct work_struct work;