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

arm64: irqstat: Get rid of duplicated declaration

irq_cpustat_t is exactly the same as the asm-generic one. Define
ack_bad_irq so the generic header does not emit the generic version of it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201113141733.392015387@linutronix.de

+2 -5
+2 -5
arch/arm64/include/asm/hardirq.h
··· 13 13 #include <asm/kvm_arm.h> 14 14 #include <asm/sysreg.h> 15 15 16 - typedef struct { 17 - unsigned int __softirq_pending; 18 - } ____cacheline_aligned irq_cpustat_t; 19 - 20 - #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ 16 + #define ack_bad_irq ack_bad_irq 17 + #include <asm-generic/hardirq.h> 21 18 22 19 #define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 23 20