* [PATCH 1/4] genirq: Fix incorrect check for forced IRQ thread handler
@ 2012-03-09 13:59 Alexander Gordeev
2012-03-09 21:10 ` [tip:irq/core] " tip-bot for Alexander Gordeev
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Gordeev @ 2012-03-09 13:59 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Oleg Nesterov, linux-kernel
We do not want a bitwise AND between boolean operands
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
---
kernel/irq/manage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index a9a9dbe..c0730ad 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -773,7 +773,7 @@ static int irq_thread(void *data)
struct irqaction *action);
int wake;
- if (force_irqthreads & test_bit(IRQTF_FORCED_THREAD,
+ if (force_irqthreads && test_bit(IRQTF_FORCED_THREAD,
&action->thread_flags))
handler_fn = irq_forced_thread_fn;
else
--
1.7.7.6
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:irq/core] genirq: Fix incorrect check for forced IRQ thread handler
2012-03-09 13:59 [PATCH 1/4] genirq: Fix incorrect check for forced IRQ thread handler Alexander Gordeev
@ 2012-03-09 21:10 ` tip-bot for Alexander Gordeev
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Alexander Gordeev @ 2012-03-09 21:10 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, agordeev, hpa, mingo, oleg, tglx
Commit-ID: 540b60e24f3f4781d80e47122f0c4486a03375b8
Gitweb: http://git.kernel.org/tip/540b60e24f3f4781d80e47122f0c4486a03375b8
Author: Alexander Gordeev <agordeev@redhat.com>
AuthorDate: Fri, 9 Mar 2012 14:59:13 +0100
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 9 Mar 2012 17:19:08 +0100
genirq: Fix incorrect check for forced IRQ thread handler
We do not want a bitwise AND between boolean operands
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Link: http://lkml.kernel.org/r/20120309135912.GA2114@dhcp-26-207.brq.redhat.com
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
kernel/irq/manage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index a9a9dbe..c0730ad 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -773,7 +773,7 @@ static int irq_thread(void *data)
struct irqaction *action);
int wake;
- if (force_irqthreads & test_bit(IRQTF_FORCED_THREAD,
+ if (force_irqthreads && test_bit(IRQTF_FORCED_THREAD,
&action->thread_flags))
handler_fn = irq_forced_thread_fn;
else
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-09 21:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-09 13:59 [PATCH 1/4] genirq: Fix incorrect check for forced IRQ thread handler Alexander Gordeev
2012-03-09 21:10 ` [tip:irq/core] " tip-bot for Alexander Gordeev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome