Skip to content

Commit c698669

Browse files
ZideChen0andrewboie
authored andcommitted
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 <[email protected]>
1 parent f590d4f commit c698669

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/arch/x86/arch.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ extern unsigned char _irq_to_interrupt_vector[];
204204

205205
#endif /* _ASMLANGUAGE */
206206

207+
#include <drivers/interrupt_controller/sysapic.h>
208+
207209
#ifdef CONFIG_X86_64
208210
#include <arch/x86/intel64/arch.h>
209211
#else

include/arch/x86/ia32/arch.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#define ZEPHYR_INCLUDE_ARCH_X86_IA32_ARCH_H_
1616

1717
#include "sys_io.h"
18-
#include <drivers/interrupt_controller/sysapic.h>
1918
#include <stdbool.h>
2019
#include <kernel_structs.h>
2120
#include <arch/common/ffs.h>

0 commit comments

Comments
 (0)