projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lockup_detector: Combine nmi_watchdog and softlockup detector
[platform/adaptation/renesas_rcar/renesas_kernel.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
e8b78a0
..
79425f9
100644
(file)
--- a/
arch/x86/kernel/apic/hw_nmi.c
+++ b/
arch/x86/kernel/apic/hw_nmi.c
@@
-89,7
+89,7
@@
int hw_nmi_is_cpu_stuck(struct pt_regs *regs)
u64 hw_nmi_get_sample_period(void)
{
- return
cpu_khz * 100
0;
+ return
(u64)(cpu_khz) * 1000 * 6
0;
}
#ifdef ARCH_HAS_NMI_WATCHDOG