From: Don Zickus <redacted>
Date: Wed, 7 Dec 2011 16:03:40 -0500
Subject: [PATCH] x86, NMI: NMI selftest depends on the local apic
The selftest doesn't work with out a local apic for now.
Reported-by: Randy Durlap <redacted>
Signed-off-by: Don Zickus <redacted>
Acked-by: Randy Dunlap <redacted>
Thanks.
quoted hunk ↗ jump to hunk
---
arch/x86/Kconfig.debug | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 020a4f1..d6eea6d 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -286,7 +286,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.
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***