x86/nmi: drop unused declaration of proc_nmi_enabled
PATCH 1/1 x86/nmi: drop unused declaration of proc_nmi_enabled
The declaration is unused as the definition got deleted.
Fixes 5f2b0ba4d94b ("x86, nmi_watchdog: Remove the old nmi_watchdog").
Signed-off-by Thomas Weißschuh <[email protected]>
--- arch/x86/include/asm/nmi.h | 3 --- 1 file changed, 3 deletions(-)
arch/x86/include/asm/nmi.h +0 -3
@@ -14,9 +14,6 @@ extern void release_perfctr_nmi(unsigned int);extern int reserve_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;#endif /* CONFIG_X86_LOCAL_APIC */
---
base-commit: 5847c9777c303a792202c609bd761dceb60f4eed
change-id: 20240306-const-sysctl-prep-x86-eb0090b27f43
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>
[tip: x86/cleanups] x86/nmi: Drop unused declaration of proc_nmi_enabled()
The following commit has been merged into the x86/cleanups branch of tip:
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 774a86f1c885460ade4334b901919fa1d8ae6ec6 Gitweb: https://git.kernel.org/tip/774a86f1c885460ade4334b901919fa1d8ae6ec6 Author: Thomas Weißschuh <[email protected]> AuthorDate: Wed, 06 Mar 2024 07:50:29 +01:00 Committer: Borislav Petkov (AMD) <[email protected]> CommitterDate: Wed, 06 Mar 2024 10:13:33 +01:00
x86/nmi: Drop unused declaration of proc_nmi_enabled()
The declaration is unused as the definition got deleted.
Fixes 5f2b0ba4d94b ("x86, nmi_watchdog: Remove the old nmi_watchdog").
Signed-off-by Thomas Weißschuh <[email protected]>
Signed-off-by Borislav Petkov (AMD) <[email protected]>
--- arch/x86/include/asm/nmi.h | 3 --- 1 file changed, 3 deletions(-)
arch/x86/include/asm/nmi.h +0 -3
@@ -14,9 +14,6 @@ extern void release_perfctr_nmi(unsigned int);extern int reserve_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;#endif /* CONFIG_X86_LOCAL_APIC */