kernel/watchdog.c: fix compilation warning on Kernel 4.4
This change fixes below compilation warning on Kernel 4.4. watchdog.c:122:22: warning: 'hardlockup_allcpu_dumped' \ defined but not used [-Wunused-variable] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
parent
66bca60974
commit
ffff87b7bf
1 changed files with 2 additions and 0 deletions
|
@ -119,7 +119,9 @@ static unsigned long soft_lockup_nmi_warn;
|
|||
#ifdef CONFIG_HARDLOCKUP_DETECTOR
|
||||
unsigned int __read_mostly hardlockup_panic =
|
||||
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE;
|
||||
#ifdef CONFIG_HARDLOCKUP_DETECTOR_NMI
|
||||
static unsigned long hardlockup_allcpu_dumped;
|
||||
#endif
|
||||
/*
|
||||
* We may not want to enable hard lockup detection by default in all cases,
|
||||
* for example when running the kernel as a guest on a hypervisor. In these
|
||||
|
|
Loading…
Add table
Reference in a new issue