Skip to content

Commit

Permalink
irqstat: Move declaration into asm-generic/hardirq.h
Browse files Browse the repository at this point in the history
Move the declaration of the irq_cpustat per cpu variable to
asm-generic/hardirq.h and remove the now empty linux/irq_cpustat.h header.

Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
KAGA-KOKO committed Nov 23, 2020
1 parent fd15c19 commit e091bc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
3 changes: 2 additions & 1 deletion include/asm-generic/hardirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ typedef struct {
#endif
} ____cacheline_aligned irq_cpustat_t;

#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat);

#include <linux/irq.h>

#ifndef ack_bad_irq
Expand Down
24 changes: 0 additions & 24 deletions include/linux/irq_cpustat.h

This file was deleted.

0 comments on commit e091bc9

Please sign in to comment.