diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h index 015d36e29adede221001fa9f5dafa0443b0b9b7e..b83151d7388cdd52813590b03d99961a24442159 100644 --- a/include/asm-x86/smp_64.h +++ b/include/asm-x86/smp_64.h @@ -7,9 +7,13 @@ /* * We need the APIC definitions automatically as part of 'smp.h' */ -#include -#include -#include +#ifdef CONFIG_X86_LOCAL_APIC +# include +# include +# ifdef CONFIG_X86_IO_APIC +# include +# endif +#endif #include #include