summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/x86-highmem-add-a-already-used-pte-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/x86-highmem-add-a-already-used-pte-check.patch')
-rw-r--r--debian/patches-rt/x86-highmem-add-a-already-used-pte-check.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches-rt/x86-highmem-add-a-already-used-pte-check.patch b/debian/patches-rt/x86-highmem-add-a-already-used-pte-check.patch
index 8550e4e85..0e4a3b37b 100644
--- a/debian/patches-rt/x86-highmem-add-a-already-used-pte-check.patch
+++ b/debian/patches-rt/x86-highmem-add-a-already-used-pte-check.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon, 11 Mar 2013 17:09:55 +0100
Subject: x86/highmem: Add a "already used pte" check
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patches-5.4.3-rt1.tar.xz
This is a copy from kmap_atomic_prot().
@@ -18,6 +18,6 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
+ WARN_ON(!pte_none(*(kmap_pte - idx)));
+
- #ifdef CONFIG_PREEMPT_RT_FULL
+ #ifdef CONFIG_PREEMPT_RT
current->kmap_pte[type] = pte;
#endif