mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
[PATCH] i386/x86-64: Remove un/set_nmi_callback and reserve/release_lapic_nmi functions
Removes the un/set_nmi_callback and reserve/release_lapic_nmi functions as they are no longer needed. The various subsystems are modified to register with the die_notifier instead. Also includes compile fixes by Andrew Morton. Signed-off-by: Don Zickus <dzickus@redhat.com> Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
parent
957dc87c1b
commit
2fbe7b25c8
10 changed files with 116 additions and 260 deletions
|
@ -76,8 +76,6 @@ extern int compat_log;
|
|||
|
||||
#if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86)
|
||||
int unknown_nmi_panic;
|
||||
extern int proc_unknown_nmi_panic(ctl_table *, int, struct file *,
|
||||
void __user *, size_t *, loff_t *);
|
||||
#endif
|
||||
|
||||
/* this is needed for the proc_dointvec_minmax for [fs_]overflow UID and GID */
|
||||
|
@ -628,7 +626,7 @@ static ctl_table kern_table[] = {
|
|||
.data = &unknown_nmi_panic,
|
||||
.maxlen = sizeof (int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_unknown_nmi_panic,
|
||||
.proc_handler = &proc_dointvec,
|
||||
},
|
||||
#endif
|
||||
#if defined(CONFIG_X86)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue