| .. | .. |
|---|
| 122 | 122 | int watchdog_nmi_enable(unsigned int cpu); |
|---|
| 123 | 123 | void watchdog_nmi_disable(unsigned int cpu); |
|---|
| 124 | 124 | |
|---|
| 125 | +void lockup_detector_reconfigure(void); |
|---|
| 126 | + |
|---|
| 125 | 127 | /** |
|---|
| 126 | 128 | * touch_nmi_watchdog - restart NMI watchdog timeout. |
|---|
| 127 | 129 | * |
|---|
| .. | .. |
|---|
| 195 | 197 | #endif |
|---|
| 196 | 198 | |
|---|
| 197 | 199 | #if defined(CONFIG_HARDLOCKUP_CHECK_TIMESTAMP) && \ |
|---|
| 198 | | - defined(CONFIG_HARDLOCKUP_DETECTOR) |
|---|
| 200 | + defined(CONFIG_HARDLOCKUP_DETECTOR_PERF) |
|---|
| 199 | 201 | void watchdog_update_hrtimer_threshold(u64 period); |
|---|
| 200 | 202 | #else |
|---|
| 201 | 203 | static inline void watchdog_update_hrtimer_threshold(u64 period) { } |
|---|
| 202 | 204 | #endif |
|---|
| 203 | 205 | |
|---|
| 204 | 206 | 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 *); |
|---|
| 215 | 212 | |
|---|
| 216 | 213 | #ifdef CONFIG_HAVE_ACPI_APEI_NMI |
|---|
| 217 | 214 | #include <asm/nmi.h> |
|---|