From c698669f4e8a5cee02b66a40b5f1a9f23ae1cb43 Mon Sep 17 00:00:00 2001 From: Zide Chen Date: Fri, 7 Feb 2020 09:13:03 -0800 Subject: [PATCH] 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 --- include/arch/x86/arch.h | 2 ++ include/arch/x86/ia32/arch.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/arch/x86/arch.h b/include/arch/x86/arch.h index d7309f35965..7af7d8da70d 100644 --- a/include/arch/x86/arch.h +++ b/include/arch/x86/arch.h @@ -204,6 +204,8 @@ extern unsigned char _irq_to_interrupt_vector[]; #endif /* _ASMLANGUAGE */ +#include + #ifdef CONFIG_X86_64 #include #else diff --git a/include/arch/x86/ia32/arch.h b/include/arch/x86/ia32/arch.h index 364f7ff54a6..788b5e5448f 100644 --- a/include/arch/x86/ia32/arch.h +++ b/include/arch/x86/ia32/arch.h @@ -15,7 +15,6 @@ #define ZEPHYR_INCLUDE_ARCH_X86_IA32_ARCH_H_ #include "sys_io.h" -#include #include #include #include