Skip to content

Commit 79b9c18

Browse files
committed
x86/irq: Use generic irq_regs implementation
The only difference is the name of the per-CPU variable: irq_regs vs. __irq_regs, but the accessor functions are identical. Remove the pointless copy and use the generic variant. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Andy Lutomirski <luto@kernel.org> Link: https://lore.kernel.org/r/20200521202118.704169051@linutronix.de
1 parent 74ebed3 commit 79b9c18

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

arch/x86/include/asm/irq_regs.h

Lines changed: 0 additions & 32 deletions
This file was deleted.

arch/x86/kernel/irq.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
2727
EXPORT_PER_CPU_SYMBOL(irq_stat);
2828

29-
DEFINE_PER_CPU(struct pt_regs *, irq_regs);
30-
EXPORT_PER_CPU_SYMBOL(irq_regs);
31-
3229
atomic_t irq_err_count;
3330

3431
/*

0 commit comments

Comments
 (0)