nmi watchdog: do not use cpp symbol in Kconfig
commitd314d74c695f967e10598467a326f41c78ed1e20
authorCong Wang <xiyou.wangcong@gmail.com>
Fri, 23 Mar 2012 22:01:51 +0000 (23 15:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:31 +0000 (23 16:58 -0700)
tree71fabe9cf1f2b99f16f7f9cc3f809955038a2d0c
parentb502bd1152472dc1b98c60434f23c23b280c7b94
nmi watchdog: do not use cpp symbol in Kconfig

ARCH_HAS_NMI_WATCHDOG is a macro defined by arch, but config
HARDLOCKUP_DETECTOR depends on it.  This is wrong, ARCH_HAS_NMI_WATCHDOG
has to be a Kconfig config, and arch's need it should select it
explicitly.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Acked-by: Don Zickus <dzickus@redhat.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Cc: David Howells <dhowells@redhat.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/Kconfig
arch/blackfin/Kconfig
arch/blackfin/include/asm/irq.h
arch/mn10300/Kconfig
arch/mn10300/include/asm/reset-regs.h
arch/sparc/Kconfig
arch/sparc/include/asm/irq_64.h
include/linux/nmi.h
lib/Kconfig.debug