]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
update genirq patch for older kernels
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Mar 2021 12:04:34 +0000 (13:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Mar 2021 12:04:34 +0000 (13:04 +0100)
queue-4.14/genirq-disable-interrupts-for-force-threaded-handlers.patch
queue-4.19/genirq-disable-interrupts-for-force-threaded-handlers.patch
queue-4.4/genirq-disable-interrupts-for-force-threaded-handlers.patch
queue-4.9/genirq-disable-interrupts-for-force-threaded-handlers.patch

index 10f23ff3e43c43179a94ce2681bbbd0ff9d7a6e6..5e28ae7cd1f91a2369073df9ff1e8e320b331b72 100644 (file)
@@ -56,14 +56,14 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        irqreturn_t ret;
  
        local_bh_disable();
-+      if (!IS_ENABLED(CONFIG_PREEMPT_RT))
++      if (!IS_ENABLED(CONFIG_PREEMPT_RT_BASE))
 +              local_irq_disable();
        ret = action->thread_fn(action->irq, action->dev_id);
        if (ret == IRQ_HANDLED)
                atomic_inc(&desc->threads_handled);
  
        irq_finalize_oneshot(desc, action);
-+      if (!IS_ENABLED(CONFIG_PREEMPT_RT))
++      if (!IS_ENABLED(CONFIG_PREEMPT_RT_BASE))
 +              local_irq_enable();
        local_bh_enable();
        return ret;
index cfff117acad49f2aa3f313069fd86b6a08cb00dd..d981386c5076dc49a10447b59a9b3db455078c77 100644 (file)
@@ -56,14 +56,14 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        irqreturn_t ret;
  
        local_bh_disable();
-+      if (!IS_ENABLED(CONFIG_PREEMPT_RT))
++      if (!IS_ENABLED(CONFIG_PREEMPT_RT_BASE))
 +              local_irq_disable();
        ret = action->thread_fn(action->irq, action->dev_id);
        if (ret == IRQ_HANDLED)
                atomic_inc(&desc->threads_handled);
  
        irq_finalize_oneshot(desc, action);
-+      if (!IS_ENABLED(CONFIG_PREEMPT_RT))
++      if (!IS_ENABLED(CONFIG_PREEMPT_RT_BASE))
 +              local_irq_enable();
        local_bh_enable();
        return ret;
index 575c8f64353cf6eb7c7e71b166e10809b571013f..47c7e5ed3d1aaedf9ad7e32ef6556fd558646cae 100644 (file)
@@ -56,14 +56,14 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        irqreturn_t ret;
  
        local_bh_disable();
-+      if (!IS_ENABLED(CONFIG_PREEMPT_RT))
++      if (!IS_ENABLED(CONFIG_PREEMPT_RT_BASE))
 +              local_irq_disable();
        ret = action->thread_fn(action->irq, action->dev_id);
        if (ret == IRQ_HANDLED)
                atomic_inc(&desc->threads_handled);
  
        irq_finalize_oneshot(desc, action);
-+      if (!IS_ENABLED(CONFIG_PREEMPT_RT))
++      if (!IS_ENABLED(CONFIG_PREEMPT_RT_BASE))
 +              local_irq_enable();
        local_bh_enable();
        return ret;
index 4dfca627f0105f56e7c4e0e014136b3005429086..868fb05d336363e8abd928686b7d862c0f5ca910 100644 (file)
@@ -56,14 +56,14 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        irqreturn_t ret;
  
        local_bh_disable();
-+      if (!IS_ENABLED(CONFIG_PREEMPT_RT))
++      if (!IS_ENABLED(CONFIG_PREEMPT_RT_BASE))
 +              local_irq_disable();
        ret = action->thread_fn(action->irq, action->dev_id);
        if (ret == IRQ_HANDLED)
                atomic_inc(&desc->threads_handled);
  
        irq_finalize_oneshot(desc, action);
-+      if (!IS_ENABLED(CONFIG_PREEMPT_RT))
++      if (!IS_ENABLED(CONFIG_PREEMPT_RT_BASE))
 +              local_irq_enable();
        local_bh_enable();
        return ret;