Commit 774a86f1 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Borislav Petkov (AMD)

x86/nmi: Drop unused declaration of proc_nmi_enabled()

The declaration is unused as the definition got deleted.

Fixes: 5f2b0ba4 ("x86, nmi_watchdog: Remove the old nmi_watchdog").
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240306-const-sysctl-prep-x86-v1-1-f9d1fa38dd2b@weissschuh.net
parent cad860b5
...@@ -14,9 +14,6 @@ extern void release_perfctr_nmi(unsigned int); ...@@ -14,9 +14,6 @@ extern void release_perfctr_nmi(unsigned int);
extern int reserve_evntsel_nmi(unsigned int); extern int reserve_evntsel_nmi(unsigned int);
extern void release_evntsel_nmi(unsigned int); extern void release_evntsel_nmi(unsigned int);
struct ctl_table;
extern int proc_nmi_enabled(struct ctl_table *, int ,
void __user *, size_t *, loff_t *);
extern int unknown_nmi_panic; extern int unknown_nmi_panic;
#endif /* CONFIG_X86_LOCAL_APIC */ #endif /* CONFIG_X86_LOCAL_APIC */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment