sh: convert to asm-generic/hardirq.h
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Aug 2009 14:55:29 +0000 (16:55 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 5 Aug 2009 08:56:07 +0000 (17:56 +0900)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/hardirq.h

index 715ee23..a5be4af 100644 (file)
@@ -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 */