]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Address 'unused' warning in hw_nmi.c again
authorRakib Mullick <rakib.mullick@gmail.com>
Thu, 9 Dec 2010 08:47:34 +0000 (14:47 +0600)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2010 15:06:52 +0000 (16:06 +0100)
commitd5615bec305d6af92a7069b1d9c4dede25f3ac2c
tree37f227660137cb41764aab93502021bae90134af
parent2267272a703068137ba8d9c9c18fe5bf30c075bd
x86: Address 'unused' warning in hw_nmi.c again

arch/x86/kernel/apic/hw_nmi.c:29: warning: backtrace_mask defined but not used

commit 636af3e9(x86, hw_nmi: Move backtrace_mask declaration under
ARCH_HAS_NMI_WATCHDOG) addressed this warning, but it was reintroduced
by commit 17fa6d1a(x86, nmi_watchdog: Remove the old nmi_watchdog).

Move backtrace_mask into the #ifdef arch_trigger_all_cpu_backtrace
section again.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <AANLkTi=rcc38QzoKa6LFy4m++-p_9=Zt4_kDQE=GeKxf@mail.gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/hw_nmi.c