diff options
author | Marc Zyngier <maz@kernel.org> | 2020-06-20 19:19:00 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-09-17 18:37:28 +0300 |
commit | a263881525310e10ecd46ae8e8531ac9e968b1b4 (patch) | |
tree | d9f7b2f5f438a8a683cf53803e931d09f0b20d63 /arch/arm64/include | |
parent | 5cebfd2d47c214f69d918e3d34ad183c061eddb2 (diff) | |
download | linux-a263881525310e10ecd46ae8e8531ac9e968b1b4.tar.xz |
arm64: Remove custom IRQ stat accounting
Let's switch the arm64 code to the core accounting, which already
does everything we need.
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/hardirq.h | 9 | ||||
-rw-r--r-- | arch/arm64/include/asm/smp.h | 5 |
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm64/include/asm/hardirq.h b/arch/arm64/include/asm/hardirq.h index 985493af704b..5ffa4bacdad3 100644 --- a/arch/arm64/include/asm/hardirq.h +++ b/arch/arm64/include/asm/hardirq.h @@ -13,21 +13,12 @@ #include <asm/kvm_arm.h> #include <asm/sysreg.h> -#define NR_IPI 7 - typedef struct { unsigned int __softirq_pending; - unsigned int ipi_irqs[NR_IPI]; } ____cacheline_aligned irq_cpustat_t; #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ -#define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++ -#define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member) - -u64 smp_irq_stat_cpu(unsigned int cpu); -#define arch_irq_stat_cpu smp_irq_stat_cpu - #define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 struct nmi_ctx { diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h index c298ad02252e..2e7f529ec5a6 100644 --- a/arch/arm64/include/asm/smp.h +++ b/arch/arm64/include/asm/smp.h @@ -56,11 +56,6 @@ static inline void set_cpu_logical_map(int cpu, u64 hwid) struct seq_file; /* - * generate IPI list text - */ -extern void show_ipi_list(struct seq_file *p, int prec); - -/* * Discover the set of possible CPUs and determine their * SMP operations. */ |