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:
commit
27ea0f7811
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue