summaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index e8f7f179bf77..9d50fbe5531a 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -1255,8 +1255,7 @@ setup_irq_thread(struct irqaction *new, unsigned int irq, bool secondary)
1255 * the thread dies to avoid that the interrupt code 1255 * the thread dies to avoid that the interrupt code
1256 * references an already freed task_struct. 1256 * references an already freed task_struct.
1257 */ 1257 */
1258 get_task_struct(t); 1258 new->thread = get_task_struct(t);
1259 new->thread = t;
1260 /* 1259 /*
1261 * Tell the thread to set its affinity. This is 1260 * Tell the thread to set its affinity. This is
1262 * important for shared interrupt handlers as we do 1261 * important for shared interrupt handlers as we do