Browse Source

MIPS: Convert to asm-generic/hardirq.h

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Christoph Hellwig 16 năm trước cách đây
mục cha
commit
24ffce18a4
1 tập tin đã thay đổi với 3 bổ sung9 xóa
  1. 3 9
      arch/mips/include/asm/hardirq.h

+ 3 - 9
arch/mips/include/asm/hardirq.h

@@ -10,15 +10,9 @@
 #ifndef _ASM_HARDIRQ_H
 #ifndef _ASM_HARDIRQ_H
 #define _ASM_HARDIRQ_H
 #define _ASM_HARDIRQ_H
 
 
-#include <linux/threads.h>
-#include <linux/irq.h>
-
-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);
 extern void ack_bad_irq(unsigned int irq);
+#define ack_bad_irq ack_bad_irq
+
+#include <asm-generic/hardirq.h>
 
 
 #endif /* _ASM_HARDIRQ_H */
 #endif /* _ASM_HARDIRQ_H */