aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/hardirq_32.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-10-01 16:45:13 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-01 16:45:13 -0400
commitc416850580cbdcca7e601dda8a243f5cac35aa88 (patch)
tree60af645c6802af6ecf4bf89b676f6fa88fd604eb /arch/sparc/include/asm/hardirq_32.h
parentd17513889a8b754c5872b6b46e6f7822338a0b79 (diff)
sparc32: convert to asm-generic/hardirq.h
From: Christoph Hellwig <hch@lst.de> [akpm@linux-foundation.org: /arch/sparc/include/asm/irq_32.h: move NR_IRQS definition] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/hardirq_32.h')
-rw-r--r--arch/sparc/include/asm/hardirq_32.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/sparc/include/asm/hardirq_32.h b/arch/sparc/include/asm/hardirq_32.h
index 4f63ed8df551..162007643cdc 100644
--- a/arch/sparc/include/asm/hardirq_32.h
+++ b/arch/sparc/include/asm/hardirq_32.h
@@ -7,17 +7,7 @@
7#ifndef __SPARC_HARDIRQ_H 7#ifndef __SPARC_HARDIRQ_H
8#define __SPARC_HARDIRQ_H 8#define __SPARC_HARDIRQ_H
9 9
10#include <linux/threads.h>
11#include <linux/spinlock.h>
12#include <linux/cache.h>
13
14/* entry.S is sensitive to the offsets of these fields */ /* XXX P3 Is it? */
15typedef struct {
16 unsigned int __softirq_pending;
17} ____cacheline_aligned irq_cpustat_t;
18
19#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
20
21#define HARDIRQ_BITS 8 10#define HARDIRQ_BITS 8
11#include <asm-generic/hardirq.h>
22 12
23#endif /* __SPARC_HARDIRQ_H */ 13#endif /* __SPARC_HARDIRQ_H */