Skip to content

Commit

Permalink
x86/irq: Use generic irq_regs implementation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Gleixner committed Jun 11, 2020
1 parent 74ebed3 commit 79b9c18
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
32 changes: 0 additions & 32 deletions arch/x86/include/asm/irq_regs.h

This file was deleted.

3 changes: 0 additions & 3 deletions arch/x86/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
EXPORT_PER_CPU_SYMBOL(irq_stat);

DEFINE_PER_CPU(struct pt_regs *, irq_regs);
EXPORT_PER_CPU_SYMBOL(irq_regs);

atomic_t irq_err_count;

/*
Expand Down

0 comments on commit 79b9c18

Please sign in to comment.