hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/nmi.h
....@@ -122,6 +122,8 @@
122122 int watchdog_nmi_enable(unsigned int cpu);
123123 void watchdog_nmi_disable(unsigned int cpu);
124124
125
+void lockup_detector_reconfigure(void);
126
+
125127 /**
126128 * touch_nmi_watchdog - restart NMI watchdog timeout.
127129 *
....@@ -202,16 +204,11 @@
202204 #endif
203205
204206 struct ctl_table;
205
-extern int proc_watchdog(struct ctl_table *, int ,
206
- void __user *, size_t *, loff_t *);
207
-extern int proc_nmi_watchdog(struct ctl_table *, int ,
208
- void __user *, size_t *, loff_t *);
209
-extern int proc_soft_watchdog(struct ctl_table *, int ,
210
- void __user *, size_t *, loff_t *);
211
-extern int proc_watchdog_thresh(struct ctl_table *, int ,
212
- void __user *, size_t *, loff_t *);
213
-extern int proc_watchdog_cpumask(struct ctl_table *, int,
214
- void __user *, size_t *, loff_t *);
207
+int proc_watchdog(struct ctl_table *, int, void *, size_t *, loff_t *);
208
+int proc_nmi_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *);
209
+int proc_soft_watchdog(struct ctl_table *, int , void *, size_t *, loff_t *);
210
+int proc_watchdog_thresh(struct ctl_table *, int , void *, size_t *, loff_t *);
211
+int proc_watchdog_cpumask(struct ctl_table *, int, void *, size_t *, loff_t *);
215212
216213 #ifdef CONFIG_HAVE_ACPI_APEI_NMI
217214 #include <asm/nmi.h>