summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 04:15:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 04:15:28 +0000
commit0cf6719e1d2f19f831279583065810ceb5ecbd28 (patch)
tree34052095977dde7bec44b99f60acc8bb77325f76 /debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch
parentMerging upstream version 4.19.282. (diff)
downloadlinux-0cf6719e1d2f19f831279583065810ceb5ecbd28.tar.xz
linux-0cf6719e1d2f19f831279583065810ceb5ecbd28.zip
Merging debian version 4.19.282-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch')
-rw-r--r--debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch b/debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch
new file mode 100644
index 000000000..7785c3a81
--- /dev/null
+++ b/debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch
@@ -0,0 +1,29 @@
+From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+Date: Thu, 11 Oct 2018 16:39:59 +0200
+Subject: [PATCH 017/353] percpu: include irqflags.h for raw_local_irq_save()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=19884a6cad964e920a1662b946593ab6020f8957
+
+The header percpu.h header file is using raw_local_irq_save() but does
+not include irqflags.h for its definition. It compiles because the
+header file is included via an other header file.
+On -RT the build fails because raw_local_irq_save() is not defined.
+
+Include irqflags.h in percpu.h.
+
+Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+---
+ include/asm-generic/percpu.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/asm-generic/percpu.h b/include/asm-generic/percpu.h
+index 1817a8415a5e..942d64c0476e 100644
+--- a/include/asm-generic/percpu.h
++++ b/include/asm-generic/percpu.h
+@@ -5,6 +5,7 @@
+ #include <linux/compiler.h>
+ #include <linux/threads.h>
+ #include <linux/percpu-defs.h>
++#include <linux/irqflags.h>
+
+ #ifdef CONFIG_SMP
+