Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq fixes from Thomas Gleixner:
 - a bugfix for a long standing waitqueue race
 - a trivial fix for a missing include

* 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  genirq: Include missing header file in irqdomain.c
  genirq: Remove racy waitqueue_active check
This commit is contained in:
Linus Torvalds 2014-03-07 16:31:41 -08:00
commit 27ea0f7811
2 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,7 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/topology.h> #include <linux/topology.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/slab.h> #include <linux/slab.h>

View File

@ -802,8 +802,7 @@ static irqreturn_t irq_thread_fn(struct irq_desc *desc,
static void wake_threads_waitq(struct irq_desc *desc) static void wake_threads_waitq(struct irq_desc *desc)
{ {
if (atomic_dec_and_test(&desc->threads_active) && if (atomic_dec_and_test(&desc->threads_active))
waitqueue_active(&desc->wait_for_threads))
wake_up(&desc->wait_for_threads); wake_up(&desc->wait_for_threads);
} }