:: commit 5f7bcc0b1d70f0d13553607b62b806c50a6f21f2

mintsuki <mintsuki@protonmail.com> — 2023-09-16 16:35

parents: 45958f7162

riscv: Fix cherry-picking issue introduced in e3d65aa628edec447877d6e22debd225ac670fba

diff --git a/common/sys/smp.c b/common/sys/smp.c
index 5e8a5fcb..d01b94e0 100644
--- a/common/sys/smp.c
+++ b/common/sys/smp.c
@@ -574,7 +574,7 @@ struct limine_smp_info *init_smp(size_t *cpu_count, pagemap_t pagemap) {
 
         // Try to start the AP.
         size_t satp = make_satp(pagemap.paging_mode, pagemap.top_level);
-        if (!smp_start_ap(hart->hartid, satp, info_struct, hhdm_offset)) {
+        if (!smp_start_ap(hart->hartid, satp, info_struct)) {
             print("smp: FAILED to bring-up AP\n");
             continue;
         }
tab: 248 wrap: offon