diff options
-rw-r--r-- | arch/m68k/include/asm/hardirq_no.h | 10 | ||||
-rw-r--r-- | arch/m68knommu/kernel/irq.c | 5 |
2 files changed, 1 insertions, 14 deletions
diff --git a/arch/m68k/include/asm/hardirq_no.h b/arch/m68k/include/asm/hardirq_no.h index bfad28149a49..b44b14be87d9 100644 --- a/arch/m68k/include/asm/hardirq_no.h +++ b/arch/m68k/include/asm/hardirq_no.h | |||
@@ -1,16 +1,8 @@ | |||
1 | #ifndef __M68K_HARDIRQ_H | 1 | #ifndef __M68K_HARDIRQ_H |
2 | #define __M68K_HARDIRQ_H | 2 | #define __M68K_HARDIRQ_H |
3 | 3 | ||
4 | #include <linux/cache.h> | ||
5 | #include <linux/threads.h> | ||
6 | #include <asm/irq.h> | 4 | #include <asm/irq.h> |
7 | 5 | ||
8 | typedef struct { | ||
9 | unsigned int __softirq_pending; | ||
10 | } ____cacheline_aligned irq_cpustat_t; | ||
11 | |||
12 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | ||
13 | |||
14 | #define HARDIRQ_BITS 8 | 6 | #define HARDIRQ_BITS 8 |
15 | 7 | ||
16 | /* | 8 | /* |
@@ -22,6 +14,6 @@ typedef struct { | |||
22 | # error HARDIRQ_BITS is too low! | 14 | # error HARDIRQ_BITS is too low! |
23 | #endif | 15 | #endif |
24 | 16 | ||
25 | void ack_bad_irq(unsigned int irq); | 17 | #include <asm-generic/hardirq.h> |
26 | 18 | ||
27 | #endif /* __M68K_HARDIRQ_H */ | 19 | #endif /* __M68K_HARDIRQ_H */ |
diff --git a/arch/m68knommu/kernel/irq.c b/arch/m68knommu/kernel/irq.c index 56e0f4c55a67..9e0c100447ca 100644 --- a/arch/m68knommu/kernel/irq.c +++ b/arch/m68knommu/kernel/irq.c | |||
@@ -29,11 +29,6 @@ asmlinkage void do_IRQ(int irq, struct pt_regs *regs) | |||
29 | set_irq_regs(oldregs); | 29 | set_irq_regs(oldregs); |
30 | } | 30 | } |
31 | 31 | ||
32 | void ack_bad_irq(unsigned int irq) | ||
33 | { | ||
34 | printk(KERN_ERR "IRQ: unexpected irq=%d\n", irq); | ||
35 | } | ||
36 | |||
37 | static struct irq_chip m_irq_chip = { | 32 | static struct irq_chip m_irq_chip = { |
38 | .name = "M68K-INTC", | 33 | .name = "M68K-INTC", |
39 | .enable = enable_vector, | 34 | .enable = enable_vector, |