Messages in this thread | | | From | Mike Frysinger <> | Date | Wed, 1 Feb 2012 13:55:08 -0500 | Subject | Re: [V2 Patch] nmi watchdog: do not use cpp symbol in Kconfig |
| |
On Wed, Feb 1, 2012 at 07:31, Cong Wang <xiyou.wangcong@gmail.com> wrote: > 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. > > --- > arch/Kconfig | 3 +++ > arch/blackfin/Kconfig | 1 + > arch/blackfin/include/asm/irq.h | 4 ---- > arch/mn10300/Kconfig | 1 + > arch/mn10300/include/asm/reset-regs.h | 4 ---- > arch/sparc/Kconfig | 1 + > arch/sparc/include/asm/irq_64.h | 1 - > include/linux/nmi.h | 2 +- > lib/Kconfig.debug | 2 +- > 9 files changed, 8 insertions(+), 11 deletions(-)
Acked-by: Mike Frysinger <vapier@gentoo.org> -mike
| |