summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/mm-protect-activate-switch-mm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/mm-protect-activate-switch-mm.patch')
-rw-r--r--debian/patches-rt/mm-protect-activate-switch-mm.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches-rt/mm-protect-activate-switch-mm.patch b/debian/patches-rt/mm-protect-activate-switch-mm.patch
index 0e65bf316..80266170d 100644
--- a/debian/patches-rt/mm-protect-activate-switch-mm.patch
+++ b/debian/patches-rt/mm-protect-activate-switch-mm.patch
@@ -1,7 +1,7 @@
From: Yong Zhang <yong.zhang0@gmail.com>
Date: Tue, 15 May 2012 13:53:56 +0800
Subject: mm: Protect activate_mm() by preempt_[disable&enable]_rt()
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.0/older/patches-5.0.10-rt7.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2-rt1.tar.xz
User preempt_*_rt instead of local_irq_*_rt or otherwise there will be
warning on ARM like below:
@@ -37,7 +37,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
--- a/fs/exec.c
+++ b/fs/exec.c
-@@ -1031,12 +1031,14 @@ static int exec_mmap(struct mm_struct *m
+@@ -1032,12 +1032,14 @@ static int exec_mmap(struct mm_struct *m
}
}
task_lock(tsk);