arch/x86_64: make sysapic.h available for x86_64 as well

sysapic.h is needed for x86_64 if CONFIG_LOAPIC is defined.

Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
Zide Chen 2020-02-07 09:13:03 -08:00 committed by Andrew Boie
commit c698669f4e
2 changed files with 2 additions and 1 deletions

View file

@ -204,6 +204,8 @@ extern unsigned char _irq_to_interrupt_vector[];
#endif /* _ASMLANGUAGE */
#include <drivers/interrupt_controller/sysapic.h>
#ifdef CONFIG_X86_64
#include <arch/x86/intel64/arch.h>
#else

View file

@ -15,7 +15,6 @@
#define ZEPHYR_INCLUDE_ARCH_X86_IA32_ARCH_H_
#include "sys_io.h"
#include <drivers/interrupt_controller/sysapic.h>
#include <stdbool.h>
#include <kernel_structs.h>
#include <arch/common/ffs.h>