From b15a952c52a6825376d3e7f6c1bf5c886c6d8b74 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 12:06:00 +0200 Subject: Adding debian version 5.10.209-2. Signed-off-by: Daniel Baumann --- ...qstat-Get-rid-of-nmi_count-and-__IRQ_STAT.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 debian/patches-rt/0116-irqstat-Get-rid-of-nmi_count-and-__IRQ_STAT.patch (limited to 'debian/patches-rt/0116-irqstat-Get-rid-of-nmi_count-and-__IRQ_STAT.patch') diff --git a/debian/patches-rt/0116-irqstat-Get-rid-of-nmi_count-and-__IRQ_STAT.patch b/debian/patches-rt/0116-irqstat-Get-rid-of-nmi_count-and-__IRQ_STAT.patch new file mode 100644 index 000000000..870e1af5f --- /dev/null +++ b/debian/patches-rt/0116-irqstat-Get-rid-of-nmi_count-and-__IRQ_STAT.patch @@ -0,0 +1,34 @@ +From c190c29cf4e02d1cfa67a9744ef94c2037ed071e Mon Sep 17 00:00:00 2001 +From: Thomas Gleixner +Date: Fri, 13 Nov 2020 15:02:10 +0100 +Subject: [PATCH 116/323] irqstat: Get rid of nmi_count() and __IRQ_STAT() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz + +Nothing uses this anymore. + +Signed-off-by: Thomas Gleixner +Reviewed-by: Frederic Weisbecker +Link: https://lore.kernel.org/r/20201113141733.005212732@linutronix.de +Signed-off-by: Sebastian Andrzej Siewior +--- + include/linux/irq_cpustat.h | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/include/linux/irq_cpustat.h b/include/linux/irq_cpustat.h +index 6e8895cd4d92..78fb2de3ea4d 100644 +--- a/include/linux/irq_cpustat.h ++++ b/include/linux/irq_cpustat.h +@@ -19,10 +19,6 @@ + + #ifndef __ARCH_IRQ_STAT + DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); /* defined in asm/hardirq.h */ +-#define __IRQ_STAT(cpu, member) (per_cpu(irq_stat.member, cpu)) + #endif + +-/* arch dependent irq_stat fields */ +-#define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) /* i386 */ +- + #endif /* __irq_cpustat_h */ +-- +2.43.0 + -- cgit v1.2.3