From: Paul Jackson Date: Wed, 14 May 2008 15:15:04 +0000 (-0700) Subject: x86 boot: include missing smp.h header X-Git-Tag: v2.6.27-rc1~1106^2~247^2~97 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f8ba81fdce852abe36a33eed7b243c4a0acfac;p=linux-2.6 x86 boot: include missing smp.h header The patch: x86: convert cpu_to_apicid to be a per cpu variable introduced a dependency of ipi.h on smp.h in x86 builds with an allnoconfig. Including smp.h in ipi.h fixes the build error: In file included from arch/x86/kernel/traps_64.c:48: include/asm/ipi.h: In function 'send_IPI_mask_sequence': include/asm/ipi.h:114: error: 'per_cpu__x86_cpu_to_apicid' undeclared (first use in this function) Signed-off-by: Paul Jackson Cc: Mike Travis Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/ipi.h b/include/asm-x86/ipi.h index ecc80f341f..196d63c28a 100644 --- a/include/asm-x86/ipi.h +++ b/include/asm-x86/ipi.h @@ -20,6 +20,7 @@ #include #include +#include /* * the following functions deal with sending IPIs between CPUs.