projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: Change the default timeout and configure nmi watchdog period based on watch...
[cascardo/linux.git]
/
arch
/
x86
/
kernel
/
apic
/
hw_nmi.c
diff --git
a/arch/x86/kernel/apic/hw_nmi.c
b/arch/x86/kernel/apic/hw_nmi.c
index
5260fe9
..
d5e57db
100644
(file)
--- a/
arch/x86/kernel/apic/hw_nmi.c
+++ b/
arch/x86/kernel/apic/hw_nmi.c
@@
-19,9
+19,9
@@
#include <linux/delay.h>
#ifdef CONFIG_HARDLOCKUP_DETECTOR
-u64 hw_nmi_get_sample_period(
void
)
+u64 hw_nmi_get_sample_period(
int watchdog_thresh
)
{
- return (u64)(cpu_khz) * 1000 *
60
;
+ return (u64)(cpu_khz) * 1000 *
watchdog_thresh
;
}
#endif