diff options
Diffstat (limited to 'debian/patches-rt/x86-preempt-Check-preemption-level-before-looking-at.patch')
-rw-r--r-- | debian/patches-rt/x86-preempt-Check-preemption-level-before-looking-at.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches-rt/x86-preempt-Check-preemption-level-before-looking-at.patch b/debian/patches-rt/x86-preempt-Check-preemption-level-before-looking-at.patch deleted file mode 100644 index 25d3f0bdc..000000000 --- a/debian/patches-rt/x86-preempt-Check-preemption-level-before-looking-at.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> -Date: Wed, 14 Aug 2019 17:08:58 +0200 -Subject: [PATCH] x86: preempt: Check preemption level before looking at - lazy-preempt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz - -Before evaluating the lazy-preempt state it must be ensure that the -preempt-count is zero. - -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - arch/x86/include/asm/preempt.h | 2 ++ - 1 file changed, 2 insertions(+) - ---- a/arch/x86/include/asm/preempt.h -+++ b/arch/x86/include/asm/preempt.h -@@ -99,6 +99,8 @@ static __always_inline bool __preempt_co - if (____preempt_count_dec_and_test()) - return true; - #ifdef CONFIG_PREEMPT_LAZY -+ if (preempt_count()) -+ return false; - if (current_thread_info()->preempt_lazy_count) - return false; - return test_thread_flag(TIF_NEED_RESCHED_LAZY); |