limine/smp: Fix stack offset accidentally added twice
This commit is contained in:
parent
3d95c8960c
commit
4ba1b2fd9d
|
@ -922,7 +922,7 @@ FEAT_START
|
|||
|
||||
for (size_t i = 0; i < cpu_count; i++) {
|
||||
void *cpu_stack = ext_mem_alloc(stack_size) + stack_size;
|
||||
smp_info[i].reserved = reported_addr(cpu_stack + stack_size);
|
||||
smp_info[i].reserved = reported_addr(cpu_stack);
|
||||
}
|
||||
|
||||
struct limine_smp_response *smp_response =
|
||||
|
|
Loading…
Reference in New Issue