summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/debugobjects-rt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/debugobjects-rt.patch')
-rw-r--r--debian/patches-rt/debugobjects-rt.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches-rt/debugobjects-rt.patch b/debian/patches-rt/debugobjects-rt.patch
index 1658d88e1..4833d67da 100644
--- a/debian/patches-rt/debugobjects-rt.patch
+++ b/debian/patches-rt/debugobjects-rt.patch
@@ -1,7 +1,7 @@
Subject: debugobjects: Make RT aware
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 17 Jul 2011 21:41:35 +0200
-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
Avoid filling the pool / allocating memory with irqs off().
@@ -12,12 +12,12 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
-@@ -376,7 +376,10 @@ static void
+@@ -533,7 +533,10 @@ static void
struct debug_obj *obj;
unsigned long flags;
- fill_pool();
-+#ifdef CONFIG_PREEMPT_RT_FULL
++#ifdef CONFIG_PREEMPT_RT
+ if (preempt_count() == 0 && !irqs_disabled())
+#endif
+ fill_pool();