[tip:x86/debug] x86, NMI: NMI selftest depends on the local apic

From: tip-bot for Don Zickus
Date: Wed Dec 07 2011 - 23:36:13 EST


Commit-ID: 4f941c57fe7e04e38c2401d53516bfd16038c9ab
Gitweb: http://git.kernel.org/tip/4f941c57fe7e04e38c2401d53516bfd16038c9ab
Author: Don Zickus <dzickus@xxxxxxxxxx>
AuthorDate: Wed, 7 Dec 2011 16:06:30 -0500
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Wed, 7 Dec 2011 23:26:55 +0100

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 <rdunlap@xxxxxxxxxxxx>
Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx>
Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/20111207210630.GI1669@xxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
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 97da3c1..aa4158f 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/