diff options
| author | Andi Kleen <ak@suse.de> | 2006-09-29 19:47:55 -0400 |
|---|---|---|
| committer | Andi Kleen <andi@basil.nowhere.org> | 2006-09-29 19:47:55 -0400 |
| commit | 29cbc78b90a73ad80f2f58ba2927956cf663abed (patch) | |
| tree | e72fdb9c1c055da47b4cd8834bc944af8efc1ed8 /include | |
| parent | 013bf2c50ed943e9c23a2145d3ea7c4d88cda310 (diff) | |
[PATCH] x86: Clean up x86 NMI sysctls
Use prototypes in headers
Don't define panic_on_unrecovered_nmi for all architectures
Cc: dzickus@redhat.com
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/nmi.h | 6 | ||||
| -rw-r--r-- | include/asm-x86_64/nmi.h | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-i386/nmi.h b/include/asm-i386/nmi.h index 303bcd4592bb..269d315719ca 100644 --- a/include/asm-i386/nmi.h +++ b/include/asm-i386/nmi.h | |||
| @@ -36,4 +36,10 @@ extern unsigned int nmi_watchdog; | |||
| 36 | #define NMI_LOCAL_APIC 2 | 36 | #define NMI_LOCAL_APIC 2 |
| 37 | #define NMI_INVALID 3 | 37 | #define NMI_INVALID 3 |
| 38 | 38 | ||
| 39 | struct ctl_table; | ||
| 40 | struct file; | ||
| 41 | extern int proc_nmi_enabled(struct ctl_table *, int , struct file *, | ||
| 42 | void __user *, size_t *, loff_t *); | ||
| 43 | extern int unknown_nmi_panic; | ||
| 44 | |||
| 39 | #endif /* ASM_NMI_H */ | 45 | #endif /* ASM_NMI_H */ |
diff --git a/include/asm-x86_64/nmi.h b/include/asm-x86_64/nmi.h index cbf2669bca71..f367d4014b42 100644 --- a/include/asm-x86_64/nmi.h +++ b/include/asm-x86_64/nmi.h | |||
| @@ -70,4 +70,11 @@ extern unsigned int nmi_watchdog; | |||
| 70 | #define NMI_LOCAL_APIC 2 | 70 | #define NMI_LOCAL_APIC 2 |
| 71 | #define NMI_INVALID 3 | 71 | #define NMI_INVALID 3 |
| 72 | 72 | ||
| 73 | struct ctl_table; | ||
| 74 | struct file; | ||
| 75 | extern int proc_nmi_enabled(struct ctl_table *, int , struct file *, | ||
| 76 | void __user *, size_t *, loff_t *); | ||
| 77 | |||
| 78 | extern int unknown_nmi_panic; | ||
| 79 | |||
| 73 | #endif /* ASM_NMI_H */ | 80 | #endif /* ASM_NMI_H */ |
