Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004-2006 Atmel Corporation |
| 3 | * |
| 4 | * Based on arch/i386/kernel/irq.c |
| 5 | * Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License version 2 as |
| 9 | * published by the Free Software Foundation. |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #include <linux/interrupt.h> |
| 13 | #include <linux/irq.h> |
| 14 | #include <linux/kernel_stat.h> |
| 15 | #include <linux/proc_fs.h> |
| 16 | #include <linux/seq_file.h> |
| 17 | #include <linux/sysdev.h> |
| 18 | |
Haavard Skinnemoen | e7ba176 | 2007-10-10 14:58:29 +0200 | [diff] [blame] | 19 | /* May be overridden by platform code */ |
| 20 | int __weak nmi_enable(void) |
| 21 | { |
| 22 | return -ENOSYS; |
| 23 | } |
| 24 | |
| 25 | void __weak nmi_disable(void) |
| 26 | { |
| 27 | |
| 28 | } |