riscv: Fix cherry-picking issue introduced in e3d65aa628

This commit is contained in:
mintsuki 2023-09-16 11:35:43 -05:00
parent 45958f7162
commit 5f7bcc0b1d

View File

@ -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;
}