diff options
| author | Brian Norris <briannorris@google.com> | 2016-02-29 17:42:29 -0800 |
|---|---|---|
| committer | Brian Norris <briannorris@google.com> | 2016-03-01 11:59:55 -0800 |
| commit | 4861be8f9e494d76b571657a067c0e525230391a (patch) | |
| tree | 9b92a3daa78055e442703bcbeaa259440fb02aab /kernel/watchdog.c | |
| parent | e3893608d32b23ef35299f137b953b65c9a7c4ba (diff) | |
ANDROID: kernel/watchdog: fix unused variable warning
kernel/watchdog.c:122:22: warning: ‘hardlockup_allcpu_dumped’ defined but not used [-Wunused-variable]
Change-Id: I99e97e7cc31b589cd674fd4495832c9ef036d0b9
Signed-off-by: Brian Norris <briannorris@google.com>
Diffstat (limited to 'kernel/watchdog.c')
| -rw-r--r-- | kernel/watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 25955235ecdd..e864906af3fc 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -119,7 +119,7 @@ static unsigned long soft_lockup_nmi_warn; #ifdef CONFIG_HARDLOCKUP_DETECTOR unsigned int __read_mostly hardlockup_panic = CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE; -static unsigned long hardlockup_allcpu_dumped; +static unsigned long __maybe_unused hardlockup_allcpu_dumped; /* * 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 |
