Thread (40 messages) 40 messages, 7 authors, 2021-01-01
STALE2013d LANDED

[patch 03/19] irqstat: Get rid of nmi_count() and __IRQ_STAT()

From: Thomas Gleixner <hidden>
Date: 2020-11-13 14:24:23
Also in: linux-sh, linux-um, lkml

Nothing uses this anymore.

Signed-off-by: Thomas Gleixner <redacted>
---
 include/linux/irq_cpustat.h |    4 ----
 1 file changed, 4 deletions(-)
--- 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 */

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help