diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-11-13 17:02:13 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-11-23 12:31:05 +0300 |
commit | 2cb0837e56e1b04b773ed05df72297de4e010063 (patch) | |
tree | f31ddb7e11f3345d9c318de32d40e0bded8cc61f /arch/arm64/include/asm/hardirq.h | |
parent | 7fd70c65faacd39628ba5f670be6490010c8132f (diff) | |
download | linux-2cb0837e56e1b04b773ed05df72297de4e010063.tar.xz |
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
Diffstat (limited to 'arch/arm64/include/asm/hardirq.h')
-rw-r--r-- | arch/arm64/include/asm/hardirq.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm64/include/asm/hardirq.h b/arch/arm64/include/asm/hardirq.h index 5ffa4bacdad3..cbfa7b6f2e09 100644 --- a/arch/arm64/include/asm/hardirq.h +++ b/arch/arm64/include/asm/hardirq.h @@ -13,11 +13,8 @@ #include <asm/kvm_arm.h> #include <asm/sysreg.h> -typedef struct { - unsigned int __softirq_pending; -} ____cacheline_aligned irq_cpustat_t; - -#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ +#define ack_bad_irq ack_bad_irq +#include <asm-generic/hardirq.h> #define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 |