Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqstat: Get rid of nmi_count() and __IRQ_STAT()

Nothing uses this anymore.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20201113141733.005212732@linutronix.de

-4
-4
include/linux/irq_cpustat.h
··· 19 19 20 20 #ifndef __ARCH_IRQ_STAT 21 21 DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); /* defined in asm/hardirq.h */ 22 - #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat.member, cpu)) 23 22 #endif 24 - 25 - /* arch dependent irq_stat fields */ 26 - #define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) /* i386 */ 27 23 28 24 #endif /* __irq_cpustat_h */