diff options
Diffstat (limited to 'arch/riscv64')
| -rw-r--r-- | arch/riscv64/kernel/smp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/riscv64/kernel/smp.c b/arch/riscv64/kernel/smp.c index f061694..4695d17 100644 --- a/arch/riscv64/kernel/smp.c +++ b/arch/riscv64/kernel/smp.c @@ -99,7 +99,9 @@ void smp_bringup(struct vmem *b, void *fdt) BASE_PAGE_SIZE; /* fixup physical address of bringup */ - pm_t bringup = (pm_t)riscv_bringup - VM_KERNEL + get_load_addr(); + pm_t bringup = (pm_t)riscv_bringup + - VM_KERNEL + + get_load_addr(); r = sbi_hart_start(hartid, bringup, satp); |
