x86, NMI: NMI selftest depends on the local apic
authorDon Zickus <dzickus@redhat.com>
Wed, 7 Dec 2011 21:06:30 +0000 (16:06 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 7 Dec 2011 22:26:55 +0000 (23:26 +0100)
The selftest doesn't work with out a local apic for now.

Reported-by: Randy Durlap <rdunlap@xenotime.net>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Link: http://lkml.kernel.org/r/20111207210630.GI1669@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig.debug

index 97da3c1..aa4158f 100644 (file)
@@ -289,7 +289,7 @@ config DEBUG_STRICT_USER_COPY_CHECKS
 
 config DEBUG_NMI_SELFTEST
        bool "NMI Selftest"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && X86_LOCAL_APIC
        ---help---
          Enabling this option turns on a quick NMI selftest to verify
          that the NMI behaves correctly.