m68knommu: convert to asm-generic/hardirq.h
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Aug 2009 14:52:44 +0000 (16:52 +0200)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 15 Sep 2009 23:43:36 +0000 (09:43 +1000)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/hardirq_no.h
arch/m68knommu/kernel/irq.c

index bfad28149a49dd4ee46d55f42b43a6a4dc64125c..b44b14be87d9daeab92cd65c41289fff7c92efbe 100644 (file)
@@ -1,16 +1,8 @@
 #ifndef __M68K_HARDIRQ_H
 #define __M68K_HARDIRQ_H
 
-#include <linux/cache.h>
-#include <linux/threads.h>
 #include <asm/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 */
-
 #define HARDIRQ_BITS   8
 
 /*
@@ -22,6 +14,6 @@ typedef struct {
 # error HARDIRQ_BITS is too low!
 #endif
 
-void ack_bad_irq(unsigned int irq);
+#include <asm-generic/hardirq.h>
 
 #endif /* __M68K_HARDIRQ_H */
index 56e0f4c55a67bb32b9d9bdf4b147519de774f68d..9e0c100447ca9ef46d6bf6c91b778b9b4b91c497 100644 (file)
@@ -29,11 +29,6 @@ asmlinkage void do_IRQ(int irq, struct pt_regs *regs)
        set_irq_regs(oldregs);
 }
 
-void ack_bad_irq(unsigned int irq)
-{
-       printk(KERN_ERR "IRQ: unexpected irq=%d\n", irq);
-}
-
 static struct irq_chip m_irq_chip = {
        .name           = "M68K-INTC",
        .enable         = enable_vector,