summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/machdep.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index 19c4901..7eb1407 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -150,6 +150,10 @@ processor_init(void)
CPU_INFO_LOCK(cur_cpu);
init_tss(cur_cpu);
+ /*
+ * See if there are things that have not been set up,
+ * set them up if so...
+ */
if (!__TEST(init_flags, INIT_FLAG_ACPI)) {
/*
* Parse the MADT... This is needed to fetch required information
@@ -166,7 +170,7 @@ processor_init(void)
cur_cpu->lapic_base = acpi_get_lapic_base();
CPU_INFO_UNLOCK(cur_cpu);
- lapic_init(); /* Per core */
+ lapic_init();
/* Use spectre mitigation if enabled */
if (try_spectre_mitigate != NULL)