summaryrefslogtreecommitdiffstats
path: root/include/linux/irq_cpustat.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-11-13 15:02:10 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-11-23 10:31:05 +0100
commit769dda58d1f647a45270db2f02efe2e2de856709 (patch)
treef973cf71d75baf58b1830073b3f7d4c575188cfa /include/linux/irq_cpustat.h
parentfe3f1d5d7cd3062c0cb8fe70dd77470019dedd19 (diff)
downloadlinux-769dda58d1f647a45270db2f02efe2e2de856709.tar.gz
linux-769dda58d1f647a45270db2f02efe2e2de856709.tar.bz2
linux-769dda58d1f647a45270db2f02efe2e2de856709.zip
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
Diffstat (limited to 'include/linux/irq_cpustat.h')
-rw-r--r--include/linux/irq_cpustat.h4
1 files changed, 0 insertions, 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 */