diff options
Diffstat (limited to 'debian/patches-rt/srcu-replace-local_irqsave-with-a-locallock.patch')
-rw-r--r-- | debian/patches-rt/srcu-replace-local_irqsave-with-a-locallock.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches-rt/srcu-replace-local_irqsave-with-a-locallock.patch b/debian/patches-rt/srcu-replace-local_irqsave-with-a-locallock.patch index dd053c484..792bae9d9 100644 --- a/debian/patches-rt/srcu-replace-local_irqsave-with-a-locallock.patch +++ b/debian/patches-rt/srcu-replace-local_irqsave-with-a-locallock.patch @@ -1,7 +1,7 @@ From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Date: Thu, 12 Oct 2017 18:37:12 +0200 Subject: [PATCH] srcu: replace local_irqsave() with a locallock -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 There are two instances which disable interrupts in order to become a stable this_cpu_ptr() pointer. The restore part is coupled with @@ -49,7 +49,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> /* * No local callbacks, so probabalistically probe global state. -@@ -850,7 +852,7 @@ void __call_srcu(struct srcu_struct *ssp +@@ -850,7 +852,7 @@ static void __call_srcu(struct srcu_stru } rhp->func = func; idx = srcu_read_lock(ssp); @@ -58,7 +58,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> sdp = this_cpu_ptr(ssp->sda); spin_lock_rcu_node(sdp); rcu_segcblist_enqueue(&sdp->srcu_cblist, rhp, false); -@@ -866,7 +868,8 @@ void __call_srcu(struct srcu_struct *ssp +@@ -866,7 +868,8 @@ static void __call_srcu(struct srcu_stru sdp->srcu_gp_seq_needed_exp = s; needexp = true; } |