summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-18 19:28:08 +0200
committerThomas Gleixner <tglx@linutronix.de>2009-08-18 19:28:08 +0200
commitbc2dae152a7e7d14daa3d879d3115f2c9cfb052e (patch)
tree3951490fc7b7eec46b7cce7d5ed7af13c6af38c6
parentbde823b22547cd5ce00b197f700961bbe70f845b (diff)
parentdadc36e50d7d03ae26ba1f20b8a5aeef5ed1a030 (diff)
downloadlwn-bc2dae152a7e7d14daa3d879d3115f2c9cfb052e.tar.gz
lwn-bc2dae152a7e7d14daa3d879d3115f2c9cfb052e.zip
Merge branch 'rt/head' into rt/2.6.31-rc6
-rw-r--r--kernel/irq/manage.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 825a5fc50353..6901ef811c8e 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -851,6 +851,13 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new)
atomic_spin_unlock_irqrestore(&desc->lock, flags);
+ /*
+ * Strictly no need to wake it up, but hung_task complains
+ * when no hard interrupt wakes the thread up.
+ */
+ if (new->thread)
+ wake_up_process(new->thread);
+
register_irq_proc(irq, desc);
new->dir = NULL;
register_handler_proc(irq, new);