From 5f7bcc0b1d70f0d13553607b62b806c50a6f21f2 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sat, 16 Sep 2023 11:35:43 -0500 Subject: [PATCH] riscv: Fix cherry-picking issue introduced in e3d65aa628edec447877d6e22debd225ac670fba --- common/sys/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }