diff options
Diffstat (limited to 'arch/avr32/kernel/irq.c')
-rw-r--r-- | arch/avr32/kernel/irq.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/arch/avr32/kernel/irq.c b/arch/avr32/kernel/irq.c index 9f572229d318..9604f7758f9a 100644 --- a/arch/avr32/kernel/irq.c +++ b/arch/avr32/kernel/irq.c | |||
@@ -16,15 +16,6 @@ | |||
16 | #include <linux/seq_file.h> | 16 | #include <linux/seq_file.h> |
17 | #include <linux/sysdev.h> | 17 | #include <linux/sysdev.h> |
18 | 18 | ||
19 | /* | ||
20 | * 'what should we do if we get a hw irq event on an illegal vector'. | ||
21 | * each architecture has to answer this themselves. | ||
22 | */ | ||
23 | void ack_bad_irq(unsigned int irq) | ||
24 | { | ||
25 | printk("unexpected IRQ %u\n", irq); | ||
26 | } | ||
27 | |||
28 | /* May be overridden by platform code */ | 19 | /* May be overridden by platform code */ |
29 | int __weak nmi_enable(void) | 20 | int __weak nmi_enable(void) |
30 | { | 21 | { |
@@ -51,7 +42,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
51 | } | 42 | } |
52 | 43 | ||
53 | if (i < NR_IRQS) { | 44 | if (i < NR_IRQS) { |
54 | spin_lock_irqsave(&irq_desc[i].lock, flags); | 45 | raw_spin_lock_irqsave(&irq_desc[i].lock, flags); |
55 | action = irq_desc[i].action; | 46 | action = irq_desc[i].action; |
56 | if (!action) | 47 | if (!action) |
57 | goto unlock; | 48 | goto unlock; |
@@ -66,7 +57,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
66 | 57 | ||
67 | seq_putc(p, '\n'); | 58 | seq_putc(p, '\n'); |
68 | unlock: | 59 | unlock: |
69 | spin_unlock_irqrestore(&irq_desc[i].lock, flags); | 60 | raw_spin_unlock_irqrestore(&irq_desc[i].lock, flags); |
70 | } | 61 | } |
71 | 62 | ||
72 | return 0; | 63 | return 0; |