Skip to content

Commit

Permalink
[S390] remove unused irq_cpustat_t defintion
Browse files Browse the repository at this point in the history
No need to defined a irq_cpustat_t type if __ARCH_IRQ_STAT is defined.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Christoph Hellwig authored and Martin Schwidefsky committed Sep 11, 2009
1 parent d3135e0 commit 275c340
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/s390/include/asm/hardirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@
#include <linux/interrupt.h>
#include <asm/lowcore.h>

/* irq_cpustat_t is unused currently, but could be converted
* into a percpu variable instead of storing softirq_pending
* on the lowcore */
typedef struct {
unsigned int __softirq_pending;
} irq_cpustat_t;

#define local_softirq_pending() (S390_lowcore.softirq_pending)

#define __ARCH_IRQ_STAT
Expand Down

0 comments on commit 275c340

Please sign in to comment.