aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/kapi/platform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kapi/platform.cpp')
-rw-r--r--arch/x86_64/kapi/platform.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/kapi/platform.cpp b/arch/x86_64/kapi/platform.cpp
index c6e41d2..d881f8a 100644
--- a/arch/x86_64/kapi/platform.cpp
+++ b/arch/x86_64/kapi/platform.cpp
@@ -44,9 +44,9 @@ namespace kapi::platform
{
auto is_bsp = !bsp_found;
bsp_found = true;
- auto lapic = kstd::make_unique<arch::devices::local_apic>(interrupt_controller_major, core_index,
- local_apic->apic_id(),
- real_madt->local_interrupt_controller_address());
+ auto lapic = kstd::make_unique<arch::devices::local_apic>(
+ interrupt_controller_major, core_index, local_apic->apic_id(),
+ real_madt->local_interrupt_controller_address(), is_bsp);
if (kapi::platform::cpu_detected(bus, core_major, core_index, local_apic->processor_id(), is_bsp,
std::move(lapic)))
{