diff options
Diffstat (limited to 'arch/avr32/kernel/irq.c')
-rw-r--r-- | arch/avr32/kernel/irq.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/avr32/kernel/irq.c b/arch/avr32/kernel/irq.c index 61f2de266f62..a8e767d836aa 100644 --- a/arch/avr32/kernel/irq.c +++ b/arch/avr32/kernel/irq.c | |||
@@ -25,6 +25,17 @@ void ack_bad_irq(unsigned int irq) | |||
25 | printk("unexpected IRQ %u\n", irq); | 25 | printk("unexpected IRQ %u\n", irq); |
26 | } | 26 | } |
27 | 27 | ||
28 | /* May be overridden by platform code */ | ||
29 | int __weak nmi_enable(void) | ||
30 | { | ||
31 | return -ENOSYS; | ||
32 | } | ||
33 | |||
34 | void __weak nmi_disable(void) | ||
35 | { | ||
36 | |||
37 | } | ||
38 | |||
28 | #ifdef CONFIG_PROC_FS | 39 | #ifdef CONFIG_PROC_FS |
29 | int show_interrupts(struct seq_file *p, void *v) | 40 | int show_interrupts(struct seq_file *p, void *v) |
30 | { | 41 | { |