summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/hardirq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-08-04 16:55:29 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-08-05 17:56:07 +0900
commitc1155e34998bc07937cdf0c9db16b6902633a255 (patch)
tree8a96fea20e6c3783b8f5649754958d43f9f507f9 /arch/sh/include/asm/hardirq.h
parent11d82905e0159c07fe2d1bfe5e7d80e4cea333ce (diff)
sh: convert to asm-generic/hardirq.h
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/hardirq.h')
-rw-r--r--arch/sh/include/asm/hardirq.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/sh/include/asm/hardirq.h b/arch/sh/include/asm/hardirq.h
index 715ee237fc77..a5be4afa790b 100644
--- a/arch/sh/include/asm/hardirq.h
+++ b/arch/sh/include/asm/hardirq.h
@@ -1,16 +1,9 @@
#ifndef __ASM_SH_HARDIRQ_H
#define __ASM_SH_HARDIRQ_H
-#include <linux/threads.h>
-#include <linux/irq.h>
-
-/* entry.S is sensitive to the offsets of these fields */
-typedef struct {
- unsigned int __softirq_pending;
-} ____cacheline_aligned irq_cpustat_t;
-
-#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
-
extern void ack_bad_irq(unsigned int irq);
+#define ack_bad_irq ack_bad_irq
+
+#include <asm-generic/hardirq.h>
#endif /* __ASM_SH_HARDIRQ_H */