On Wed, Dec 07, 2011 at 02:06:12PM +0300, Dan Carpenter wrote: > Gcc complains if we don't cast this to a struct cpumask pointer. > arch/x86/kernel/nmi_selftest.c:93:2: > warning: passing argument 1 of ‘cpumask_empty’ from > incompatible pointer type [enabled by default] > Crap, another fallout found by Randy. Cheers, Don ---8<--- From: Don Zickus <dzickus@xxxxxxxxxx> 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 Dunlap <rdunlap@xxxxxxxxxxxx> Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx> --- 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. -- 1.7.6.4 -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html