lkml.org 
[lkml]   [2012]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[ 054/175] genirq: Fix incorrect check for forced IRQ thread handler
    3.3-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Alexander Gordeev <agordeev@redhat.com>

    commit 540b60e24f3f4781d80e47122f0c4486a03375b8 upstream.

    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
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    kernel/irq/manage.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- 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



    \
     
     \ /
      Last update: 2012-03-30 23:57    [W:0.019 / U:30.732 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site