x86: surround apic headers in apic definitions
Although those constants are always defined in x86_64, and will have the effect of just including the headers in the very way we did before, I'm doing this in a separate patch to be conservative and avoid surprises. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
1b00084386
commit
c1fa6c977e
1 changed files with 7 additions and 3 deletions
|
@ -7,9 +7,13 @@
|
|||
/*
|
||||
* We need the APIC definitions automatically as part of 'smp.h'
|
||||
*/
|
||||
#include <asm/apic.h>
|
||||
#include <asm/io_apic.h>
|
||||
#include <asm/mpspec.h>
|
||||
#ifdef CONFIG_X86_LOCAL_APIC
|
||||
# include <asm/mpspec.h>
|
||||
# include <asm/apic.h>
|
||||
# ifdef CONFIG_X86_IO_APIC
|
||||
# include <asm/io_apic.h>
|
||||
# endif
|
||||
#endif
|
||||
#include <asm/pda.h>
|
||||
#include <asm/thread_info.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue