![]() | |||||||||||||
Messages in this thread Patch in this message |
-tip testing found a build failure with kmemcheck: include/asm/string_32.h:320:1: warning: "memset" redefined include/asm/string_32.h:245:1: warning: this is the location of the previous definition arch/x86/mm/kmemcheck/smp.c: In function 'kmemcheck_pause_allbutself': arch/x86/mm/kmemcheck/smp.c:59: error: 'NMI_VECTOR' undeclared (first use in this function) arch/x86/mm/kmemcheck/smp.c:59: error: (Each undeclared identifier is reported only once arch/x86/mm/kmemcheck/smp.c:59: error: for each function it appears in.) with this config: http://redhat.com/~mingo/misc/config-Mon_Jun_16_04_15_22_CEST_2008.bad the patch below fixes the build failure, but note that there are lots of those memset redefined warnings with that config as well. Ingo ------------> commit 36bdad27f868eba1d17e6d9dc1cbb6794361d541 Author: Ingo Molnar <mingo@elte.hu> Date: Mon Jun 16 07:11:37 2008 +0200 kmemcheck: fix build error fix: arch/x86/mm/kmemcheck/smp.c: In function 'kmemcheck_pause_allbutself': arch/x86/mm/kmemcheck/smp.c:59: error: 'NMI_VECTOR' undeclared (first use in this function) arch/x86/mm/kmemcheck/smp.c:59: error: (Each undeclared identifier is reported only once arch/x86/mm/kmemcheck/smp.c:59: error: for each function it appears in.) Signed-off-by: Ingo Molnar <mingo@elte.hu> diff --git a/arch/x86/mm/kmemcheck/smp.c b/arch/x86/mm/kmemcheck/smp.c index c4ff615..cd17ddf 100644 --- a/arch/x86/mm/kmemcheck/smp.c +++ b/arch/x86/mm/kmemcheck/smp.c @@ -5,6 +5,7 @@ #include <mach_ipi.h> #include "smp.h" +#include <asm/irq_vectors.h> static spinlock_t nmi_spinlock; | ||||||||||||
| Last update: 2008-06-16 07:17 [from the cache] ©2003-2008 | |||||||||||||