[PATCH] mips: convert to asm-generic/hardirq.h

Christoph Hellwig
2009-08-04T14:54:07Z

Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6/arch/mips/include/asm/hardirq.h
===================================================================
--- linux-2.6.orig/arch/mips/include/asm/hardirq.h 2009-07-27 14:32:58.677148625 +0200
+++ linux-2.6/arch/mips/include/asm/hardirq.h 2009-07-27 14:56:48.409931750 +0200
@@ -10,15 +10,9 @@
#ifndef _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);
+#define ack_bad_irq ack_bad_irq
+
+#include <asm-generic/hardirq.h>

#endif /* _ASM_HARDIRQ_H */