diff --git a/patches.suse/printk-Remove-printk.h-inclusion-in-percpu.h.patch b/patches.suse/printk-Remove-printk.h-inclusion-in-percpu.h.patch new file mode 100644 index 0000000..4aa68db --- /dev/null +++ b/patches.suse/printk-Remove-printk.h-inclusion-in-percpu.h.patch @@ -0,0 +1,49 @@ +From a0ddee65c527d877e798205c1391c6170e580c66 Mon Sep 17 00:00:00 2001 +From: Andy Shevchenko +Date: Fri, 12 Nov 2021 16:07:49 +0200 +Subject: [PATCH] printk: Remove printk.h inclusion in percpu.h +Git-commit: a0ddee65c527d877e798205c1391c6170e580c66 +Patch-mainline: v5.16-rc2 +References: bsc#1192987 + +After the commit 42a0bb3f7138 ("printk/nmi: generic solution for safe +printk in NMI") the printk.h is not needed anymore in percpu.h. + +Moreover `make headerdep` complains (an excerpt) + +In file included from linux/printk.h, + from linux/dynamic_debug.h:188 + from linux/printk.h:559 <-- here + from linux/percpu.h:9 + from linux/idr.h:17 +include/net/9p/client.h:13: warning: recursive header inclusion + +Yeah, it's not a root cause of this, but removing will help to reduce +the noise. + +Fixes: 42a0bb3f7138 ("printk/nmi: generic solution for safe printk in NMI") +Signed-off-by: Andy Shevchenko +Acked-by: Dennis Zhou +Reviewed-by: Petr Mladek +Signed-off-by: Petr Mladek +Link: https://lore.kernel.org/r/20211112140749.80042-1-andriy.shevchenko@linux.intel.com + +--- + include/linux/percpu.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/include/linux/percpu.h b/include/linux/percpu.h +index 5e76af742c80..4fa3000f9c22 100644 +--- a/include/linux/percpu.h ++++ b/include/linux/percpu.h +@@ -6,7 +6,6 @@ + #include + #include + #include +-#include + #include + #include + +-- +2.26.2 + diff --git a/series.conf b/series.conf index 8d54128..97423a4 100644 --- a/series.conf +++ b/series.conf @@ -60349,6 +60349,7 @@ patches.suse/xen-Fix-implicit-type-conversion.patch patches.suse/soc-fsl-dpio-replace-smp_processor_id-with-raw_smp_p.patch patches.suse/arm64-pgtable-make-__pte_to_phys-__phys_to_pte_val-i.patch + patches.suse/printk-Remove-printk.h-inclusion-in-percpu.h.patch patches.suse/btrfs-fix-memory-ordering-between-normal-and-ordered-work-functions.patch # dhowells/linux-fs keys-uefi