]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
h8300: convert to asm-generic/hardirq.h
authorChristoph Hellwig <hch@lst.de>
Tue, 22 Sep 2009 00:03:58 +0000 (17:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:43 +0000 (07:17 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/h8300/include/asm/hardirq.h
arch/h8300/kernel/irq.c

index 9d7f7a7462b26936d6263fb5455553c3ba96945a..c2e1aa0f0d14441c05a4e9846ac5ef09254c3f84 100644 (file)
@@ -1,18 +1,7 @@
 #ifndef __H8300_HARDIRQ_H
 #define __H8300_HARDIRQ_H
 
-#include <linux/kernel.h>
-#include <linux/threads.h>
-#include <linux/interrupt.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);
+#include <asm/irq.h>
 
 #define HARDIRQ_BITS   8
 
@@ -25,4 +14,6 @@ extern void ack_bad_irq(unsigned int irq);
 # error HARDIRQ_BITS is too low!
 #endif
 
+#include <asm-generic/hardirq.h>
+
 #endif
index 74f8dd7b34d2f4be2d44f1922bda2760e200597c..5c913d472119dadf9c3fad5749223901ec3a0fd7 100644 (file)
@@ -81,11 +81,6 @@ struct irq_chip h8300irq_chip = {
        .end            = h8300_end_irq,
 };
 
-void ack_bad_irq(unsigned int irq)
-{
-       printk("unexpected IRQ trap at vector %02x\n", irq);
-}
-
 #if defined(CONFIG_RAMKERNEL)
 static unsigned long __init *get_vector_address(void)
 {