projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cad860b
)
x86/nmi: Drop unused declaration of proc_nmi_enabled()
author
Thomas Weißschuh
<linux@weissschuh.net>
Wed, 6 Mar 2024 06:50:29 +0000
(07:50 +0100)
committer
Borislav Petkov (AMD)
<bp@alien8.de>
Wed, 6 Mar 2024 09:13:33 +0000
(10:13 +0100)
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 <linux@weissschuh.net>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link:
https://lore.kernel.org/r/20240306-const-sysctl-prep-x86-v1-1-f9d1fa38dd2b@weissschuh.net
arch/x86/include/asm/nmi.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/nmi.h
b/arch/x86/include/asm/nmi.h
index 5c5f1e56c4048db1a725b450e6f700b484d150d2..41a0ebb699ec64284832878191404a9cfa8ffbc4 100644
(file)
--- a/
arch/x86/include/asm/nmi.h
+++ b/
arch/x86/include/asm/nmi.h
@@
-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 */