Messages in this thread Patch in this message |  | | Date | Mon, 16 Jun 2008 07:15:05 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC][PATCH] kmemcheck: divide and conquer |
| |
-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;
|  |