summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-11-13 15:02:16 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-11-23 10:31:06 +0100
commite091bc90cd2d65f48e4688faead2911558d177d7 (patch)
treefe380045961fd166ef956f1bad1fed14526b5df3 /include/asm-generic
parentfd15c1941f0ae0b46d48431d0020edfc843abd33 (diff)
irqstat: Move declaration into asm-generic/hardirq.h
Move the declaration of the irq_cpustat per cpu variable to asm-generic/hardirq.h and remove the now empty linux/irq_cpustat.h header. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lore.kernel.org/r/20201113141733.737377332@linutronix.de
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/hardirq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-generic/hardirq.h b/include/asm-generic/hardirq.h
index f5dd99781e3c..7317e8258b48 100644
--- a/include/asm-generic/hardirq.h
+++ b/include/asm-generic/hardirq.h
@@ -12,7 +12,8 @@ typedef struct {
#endif
} ____cacheline_aligned irq_cpustat_t;
-#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
+DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat);
+
#include <linux/irq.h>
#ifndef ack_bad_irq