diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2019-04-16 03:50:24 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2019-04-16 03:53:24 +0200 |
commit | 850fb2c12f446023c3d186f6050c9a5fec998266 (patch) | |
tree | 2a6654541011544ca34fb3357eeb8986b401aca2 /recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/003.patch | |
parent | a5f5d85e52717e136e692478fb5d822c1ce70046 (diff) |
linux-toradex-rt: fix it again
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/003.patch')
-rw-r--r-- | recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/003.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/003.patch b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/003.patch deleted file mode 100644 index a385ea0..0000000 --- a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/003.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- b/kernel/softirq.c -+++ a/kernel/softirq.c -@@ -79,16 +79,12 @@ - - /* - * If ksoftirqd is scheduled, we do not want to process pending softirqs -+ * right now. Let ksoftirqd handle this at its own rate, to get fairness. -- * right now. Let ksoftirqd handle this at its own rate, to get fairness, -- * unless we're doing some of the synchronous softirqs. - */ -+static bool ksoftirqd_running(void) --#define SOFTIRQ_NOW_MASK ((1 << HI_SOFTIRQ) | (1 << TASKLET_SOFTIRQ)) --static bool ksoftirqd_running(unsigned long pending) - { - struct task_struct *tsk = __this_cpu_read(ksoftirqd); - -- if (pending & SOFTIRQ_NOW_MASK) -- return false; - return tsk && (tsk->state == TASK_RUNNING); - } - -@@ -328,7 +324,7 @@ - - pending = local_softirq_pending(); - -+ if (pending && !ksoftirqd_running()) -- if (pending && !ksoftirqd_running(pending)) - do_softirq_own_stack(); - - local_irq_restore(flags); -@@ -355,7 +351,7 @@ - - static inline void invoke_softirq(void) - { -+ if (ksoftirqd_running()) -- if (ksoftirqd_running(local_softirq_pending())) - return; - - if (!force_irqthreads) { |